Skip to content

Commit 6b25d9d

Browse files
committed
fix: update cargo dist for releases
1 parent 0ae681f commit 6b25d9d

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

.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/jacobtread/cargo-dist/releases/download/v1.0.0-rc.1/cargo-dist-installer.sh | sh"
67+
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.30.3/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"

dist-workspace.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ members = ["cargo:."]
44
# Config for 'dist'
55
[dist]
66
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
7-
cargo-dist-version = "1.0.0-rc.1"
8-
# A URL to use to install `cargo-dist` (with the installer script)
9-
cargo-dist-url-override = "https://github.com/jacobtread/cargo-dist/releases/download/v1.0.0-rc.1"
7+
cargo-dist-version = "0.30.3"
108
# CI backends to support
119
ci = "github"
1210
# The installers to generate for each app

0 commit comments

Comments
 (0)