Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/ci_conda_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Install conda requirements
shell: bash -el {0}
run: |
conda install -c conda-forge conda-build grayskull=3.1.0
conda install -c conda-forge conda-build grayskull=3.1.1

- name: Build conda metadata
shell: bash -el {0}
Expand Down Expand Up @@ -76,14 +76,12 @@ jobs:
shell: bash -el {0}
run: |
CONDA_ART="$(find conda_dist/noarch/ -type f -name '*.conda' | head -n 1)"
echo "CONDA_ART=$CONDA_ART" >> "$CONDA_ART"
echo "CONDA_ART=$CONDA_ART" >> "$GITHUB_ENV"

- name: Upload Conda Artifact
env:
ANACONDA_TOKEN = ${{ secrets.ANACONDA_TOKEN }}
ANACONDA_USER = ${{ secrets.ANACONDA_USER }}
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
ANACONDA_USER: ${{ secrets.ANACONDA_USER }}
shell: bash -el {0}
run: |
anaconda login --user "$ANACONDA_USER"
anaconda upload --user "$ANACONDA_USER" "$CONDA_ART"
# TODO - haven't been able to get the login working. Needs fixing
anaconda --token $ANACONDA_TOKEN upload --user "$ANACONDA_USER" "$CONDA_ART"
Loading