Skip to content

Commit 103425a

Browse files
authored
CI Fix (#3)
1 parent 6d7a69a commit 103425a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ jobs:
3131
runs-on: ubuntu-latest
3232
steps:
3333
- uses: actions/checkout@v3
34-
- run: |
34+
- name: version/check
35+
run: |
3536
RELEASE_VERSION=${GITHUB_REF#refs/tags/}
3637
CARGO_VERSION=$(awk -F' = ' '$1=="version"{print $2; exit}' Cargo.toml | tr -d '"')
3738
if [ "$RELEASE_VERSION" != "$CARGO_VERSION" ]; then
@@ -48,7 +49,7 @@ jobs:
4849
- uses: actions-rs/cargo@v1
4950
with:
5051
command: login
51-
args: --token ${{ secrets.CRATES_API_TOKEN }}
52+
args: ${{ secrets.CRATES_API_TOKEN }}
5253
- uses: actions-rs/cargo@v1
5354
with:
5455
command: publish

0 commit comments

Comments
 (0)