- workflow fix
This commit is contained in:
1 parent
81bd302967
commit
f94c77c3f8
2 files changed
+4
-4
No files matched your search
@@ -1,4 +1,4 @@
|
||||
name: Publish
|
||||
name: Publish_rs
|
||||
|
||||
on: [workflow_dispatch]
|
||||
|
||||
@@ -21,12 +21,13 @@ jobs:
|
||||
|
||||
- name: Install Rust
|
||||
run: |-
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
export PATH="${CARGO_HOME:-$HOME/.cargo}/bin:$PATH"
|
||||
if ! command -v rustc >/dev/null 2>&1; then
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
else
|
||||
rustup update
|
||||
fi
|
||||
echo "${CARGO_HOME:-$HOME/.cargo}/bin" >> "$GITHUB_PATH"
|
||||
cargo install cargo-release
|
||||
shell: bash
|
||||
|
||||
@@ -47,7 +48,6 @@ jobs:
|
||||
# have passed.
|
||||
- name: "cargo release publish"
|
||||
run: |-
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
cargo login ${{ secrets.CRATES_IO_API_TOKEN }}
|
||||
cargo release \
|
||||
publish \
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: CI
|
||||
name: Publish_py
|
||||
|
||||
on: [workflow_dispatch]
|
||||
|
||||
|
||||
Reference in new issue
Block a user