Skip to content

Commit 5c6b024

Browse files
committed
build: update to cargo dist 0.30.1
1 parent b28af6a commit 5c6b024

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
# we specify bash to get pipefail; it guards against the `curl` command
6565
# failing. otherwise `sh` won't catch that `curl` returned non-0
6666
shell: bash
67-
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.30.0/cargo-dist-installer.sh | sh"
67+
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.30.1/cargo-dist-installer.sh | sh"
6868
- name: Cache dist
6969
uses: actions/upload-artifact@v4
7070
with:
@@ -217,8 +217,8 @@ jobs:
217217
- plan
218218
- build-local-artifacts
219219
- build-global-artifacts
220-
# Only run if we're "publishing", and only if local and global didn't fail (skipped is fine)
221-
if: ${{ always() && needs.plan.outputs.publishing == 'true' && (needs.build-global-artifacts.result == 'skipped' || needs.build-global-artifacts.result == 'success') && (needs.build-local-artifacts.result == 'skipped' || needs.build-local-artifacts.result == 'success') }}
220+
# Only run if we're "publishing", and only if plan, local and global didn't fail (skipped is fine)
221+
if: ${{ always() && needs.plan.result == 'success' && needs.plan.outputs.publishing == 'true' && (needs.build-global-artifacts.result == 'skipped' || needs.build-global-artifacts.result == 'success') && (needs.build-local-artifacts.result == 'skipped' || needs.build-local-artifacts.result == 'success') }}
222222
env:
223223
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
224224
runs-on: "ubuntu-22.04"

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ lto = true
6666
# Config for 'dist'
6767
[workspace.metadata.dist]
6868
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
69-
cargo-dist-version = "0.30.0"
69+
cargo-dist-version = "0.30.1"
7070
# CI backends to support
7171
ci = "github"
7272
# The installers to generate for each app

0 commit comments

Comments
 (0)