Skip to content

Commit

Permalink
Update parity publish (#4878)
Browse files Browse the repository at this point in the history
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
  • Loading branch information
Morganamilo and ggwpez authored Jun 26, 2024
1 parent 7a2592e commit 7084463
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/check-semver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ jobs:
with:
cache-on-failure: true

- name: install parity-publish
run: cargo install parity-publish@0.6.0

- name: Rust compilation prerequisites
run: |
rustup default nightly-2024-03-01
rustup target add wasm32-unknown-unknown --toolchain nightly-2024-03-01
rustup component add rust-src --toolchain nightly-2024-03-01
- name: install parity-publish
run: cargo install parity-publish@0.5.1
rustup default $(parity-publish semver --minimum-nightly-rust-version)
rustup target add wasm32-unknown-unknown --toolchain $(parity-publish semver --minimum-nightly-rust-version)
rustup component add rust-src --toolchain $(parity-publish semver --minimum-nightly-rust-version)
- name: extra git setup
run: |
Expand All @@ -39,7 +39,7 @@ jobs:
export CARGO_TARGET_DIR=target
export RUSTFLAGS='-A warnings -A missing_docs'
export SKIP_WASM_BUILD=1
if ! parity-publish --color always prdoc --since old --validate prdoc/pr_$PR.prdoc --toolchain nightly-2024-03-01 -v; then
if ! parity-publish --color always prdoc --since old --validate prdoc/pr_$PR.prdoc -v; then
cat <<EOF
👋 Hello developer! The SemVer information that you declared in the prdoc file did not match what the CI detected.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-check-crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
cache-on-failure: true

- name: install parity-publish
run: cargo install parity-publish@0.5.1
run: cargo install parity-publish@0.6.0

- name: parity-publish check
run: parity-publish --color always check --allow-unpublished
2 changes: 1 addition & 1 deletion .github/workflows/publish-claim-crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
cache-on-failure: true

- name: install parity-publish
run: cargo install parity-publish@0.5.1
run: cargo install parity-publish@0.6.0

- name: parity-publish claim
env:
Expand Down

0 comments on commit 7084463

Please sign in to comment.