Skip to content

Commit

Permalink
Extent upload to pre-releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas-Raphael Müller committed Mar 29, 2021
1 parent 05fd075 commit 92052e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
echo "ANACONDA_LABEL=main" >> $GITHUB_ENV
- name: Change anaconda label on prerelease
if: "github.event.release.prerelease"
if: github.event.release.prerelease
run: |
echo "ANACONDA_LABEL=rc" >> $GITHUB_ENV
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
echo "::set-output name=wheel_filename::$WHEEL"
- name: Upload to GitHub release
if: github.event.release
if: ${{ github.event.release || github.event.release.prerelease }}
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 92052e7

Please sign in to comment.