Skip to content

Commit

Permalink
Fix upload script.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidt0x committed Nov 26, 2024
1 parent d243fb5 commit fa8643c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@ jobs:

- name: Upload to Anaconda
run: |
set -e # Exit immediately if any command exits with a non-zero status
export ANACONDA_API_TOKEN=${{ secrets.ANACONDA_TOKEN }}
find conda-packages -type f -name "*.tar.bz2" -exec anaconda upload {} \;
for file in $(find conda-packages -type f -name "*.tar.bz2"); do
echo "Uploading $file"
anaconda upload "$file"
done

0 comments on commit fa8643c

Please sign in to comment.