Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfsck committed Dec 12, 2020
1 parent 03e9642 commit 2945a43
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -481,16 +481,16 @@ jobs:
dotnet nuget push "$file" --api-key "${{secrets.NUGET_APIKEY}}" --source https://api.nuget.org/v3/index.json
done
- name: Upload to crates.io
if: startsWith(github.ref, 'refs/tags/')
shell: bash
run: |
git clean -xdf
git checkout .
cd src/rust/iced-x86
cargo login --color always -- "${{secrets.CRATES_IO_TOKEN}}"
# --no-verify: we've tested building everything already
cargo publish --color always --no-verify
# - name: Upload to crates.io
# if: startsWith(github.ref, 'refs/tags/')
# shell: bash
# run: |
# git clean -xdf
# git checkout .
# cd src/rust/iced-x86
# cargo login --color always -- "${{secrets.CRATES_IO_TOKEN}}"
# # --no-verify: we've tested building everything already
# cargo publish --color always --no-verify

- name: Upload to pypi.org
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit 2945a43

Please sign in to comment.