Skip to content

Commit d0bc878

Browse files
committed
Fix: Update to latest dist.
1 parent 53dd2f9 commit d0bc878

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.2/cargo-dist-installer.sh | sh"
6868
- name: Cache dist
6969
uses: actions/upload-artifact@v4
7070
with:
@@ -234,8 +234,8 @@ jobs:
234234
- plan
235235
- build-local-artifacts
236236
- build-global-artifacts
237-
# Only run if we're "publishing", and only if local and global didn't fail (skipped is fine)
238-
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') }}
237+
# Only run if we're "publishing", and only if plan, local and global didn't fail (skipped is fine)
238+
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') }}
239239
env:
240240
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
241241
runs-on: "ubuntu-22.04"

dist-workspace.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ members = ["cargo:server/"]
2525
# Config for 'dist'
2626
[dist]
2727
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
28-
cargo-dist-version = "0.30.0"
28+
cargo-dist-version = "0.30.2"
2929
# CI backends to support
3030
ci = "github"
3131
# The installers to generate for each app

0 commit comments

Comments
 (0)