Skip to content

Commit

Permalink
Separate upload for windows and not windows
Browse files Browse the repository at this point in the history
  • Loading branch information
roomrys committed Sep 12, 2024
1 parent a4b464d commit 8833e8b
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/build_tensorflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,22 @@ jobs:
ls .
ls -R build
- name: Upload to Anaconda
- name: Upload to Anaconda (Windows)
if: runner.os == 'Windows'
env:
ANACONDA_PASSWORD: ${{ secrets.ANACONDA_PASSWORD }}
shell: bash -l {0}
run: |
anaconda login --username sleap-deps --password "$ANACONDA_PASSWORD"
anaconda -v upload "./build/${{ matrix.os-folder }}/*.tar.bz2" --label dev --user sleap-deps
anaconda -v upload "build/${{ matrix.os-folder }}/*.tar.bz2" --label dev --user sleap-deps
anaconda logout
- name: Upload to Anaconda (not Windows)
if: runner.os != 'Windows'
env:
ANACONDA_PASSWORD: ${{ secrets.ANACONDA_PASSWORD }}
shell: bash -l {0}
run: |
anaconda login --username sleap-deps --password "$ANACONDA_PASSWORD"
anaconda -v upload build/${{ matrix.os-folder }}/*.tar.bz2 --label dev --user sleap-deps
anaconda logout

0 comments on commit 8833e8b

Please sign in to comment.