Skip to content

Commit

Permalink
Fix anaconda upload. Tested with uploading locally
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
  • Loading branch information
prabhu committed Oct 15, 2023
1 parent 5daa48a commit a979de4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,12 @@ jobs:
run: |
poetry publish --build --username $PYPI_USERNAME --password $PYPI_PASSWORD
$CONDA/bin/conda update -n base -c defaults conda
$CONDA/bin/conda token set $ANACONDA_TOKEN
$CONDA/bin/conda config --set anaconda_upload yes
$CONDA/bin/conda build --output-folder ./conda-out/ ./conda/
anaconda upload --label main -u appthreat ./conda-out/noarch/*.tar.bz2
env:
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
continue-on-error: true
- run: sha512sum target/chen.zip > target/chen.zip.sha512
- name: Create Release
Expand Down

0 comments on commit a979de4

Please sign in to comment.