Skip to content

Commit b36e4a5

Browse files
committed
Fixed cargo publish
1 parent 0cea5e8 commit b36e4a5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ jobs:
5454
- name: Publish Release
5555
uses: actions-rs/cargo@v1
5656
with:
57-
command: cargo publish --token ${{ secrets.CRATES_IO_TOKEN }} --dry-run
57+
command: publish
58+
args: --token ${{ secrets.CRATES_IO_TOKEN }} --dry-run
5859

5960
release-staging:
6061
if: github.ref == 'refs/heads/staging'
@@ -81,5 +82,6 @@ jobs:
8182
- name: Publish Release
8283
uses: actions-rs/cargo@v1
8384
with:
84-
command: cargo publish --token ${{ secrets.CRATES_IO_TOKEN }} --allow-dirty --dry-run
85+
command: publish
86+
args: --token ${{ secrets.CRATES_IO_TOKEN }} --allow-dirty --dry-run
8587

0 commit comments

Comments
 (0)