fix: Wrong option name for cargo github action
https://github.com/actions-rs/cargo/issues/4
This commit is contained in:
parent
39cc9223d2
commit
84982d6131
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -19,4 +19,4 @@ jobs:
|
||||||
with:
|
with:
|
||||||
toolchain: nightly
|
toolchain: nightly
|
||||||
command: build
|
command: build
|
||||||
arguments: --release
|
args: --release
|
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
|
@ -22,7 +22,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
toolchain: nightly
|
toolchain: nightly
|
||||||
command: login
|
command: login
|
||||||
arguments: ${{ secrets.CRATES_TOKEN }}
|
args: ${{ secrets.CRATES_TOKEN }}
|
||||||
- name: Publish to crates.io
|
- name: Publish to crates.io
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
|
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -21,7 +21,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
toolchain: nightly
|
toolchain: nightly
|
||||||
command: build
|
command: build
|
||||||
arguments: --release
|
args: --release
|
||||||
- name: Get the version
|
- name: Get the version
|
||||||
run: echo ::set-env name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)
|
run: echo ::set-env name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)
|
||||||
- name: Archive
|
- name: Archive
|
||||||
|
|
Loading…
Reference in a new issue