Skip to content

Commit

Permalink
Try logging in before publishing (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmcquillan authored Oct 30, 2024
1 parent 579bd81 commit 35655fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,7 @@ jobs:
run: |
version=$(echo "$GITHUB_REF" | sed 's/refs\/tags\/v//')
sed -i "s/version = \"0.1.0\"/version = \"$version\"/" Cargo.toml
- name: Cargo Login
run: cargo login ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Publish
run: cargo publish --allow-dirty --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: cargo publish --allow-dirty --locked

0 comments on commit 35655fd

Please sign in to comment.