Skip to content

Commit 09142bb

Browse files
committed
chore: bump cargo dist to 0.30.3
Fixes COD-1888
1 parent df1e6f1 commit 09142bb

File tree

3 files changed

+32
-30
lines changed

3 files changed

+32
-30
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
# This file was autogenerated by dist: https://github.com/astral-sh/cargo-dist
1+
# This file was autogenerated by dist: https://axodotdev.github.io/cargo-dist
22
#
33
# Copyright 2022-2024, axodotdev
4-
# Copyright 2025 Astral Software Inc.
54
# SPDX-License-Identifier: MIT or Apache-2.0
65
#
76
# CI that:
@@ -65,7 +64,7 @@ jobs:
6564
# we specify bash to get pipefail; it guards against the `curl` command
6665
# failing. otherwise `sh` won't catch that `curl` returned non-0
6766
shell: bash
68-
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/cargo-dist/releases/download/v0.28.4/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"
6968
- name: Cache dist
7069
uses: actions/upload-artifact@v4
7170
with:
@@ -218,8 +217,8 @@ jobs:
218217
- plan
219218
- build-local-artifacts
220219
- build-global-artifacts
221-
# Only run if we're "publishing", and only if local and global didn't fail (skipped is fine)
222-
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') }}
223222
env:
224223
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
225224
runs-on: "ubuntu-22.04"

Cargo.toml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -111,28 +111,3 @@ strip = true
111111
[package.metadata.dist]
112112
targets = ["aarch64-unknown-linux-musl", "x86_64-unknown-linux-musl"]
113113

114-
# Config for 'dist' for all crates in the workspace
115-
[workspace.metadata.dist]
116-
# Whether to consider the binaries in a package for distribution (defaults true)
117-
dist = true
118-
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
119-
cargo-dist-version = "0.28.4"
120-
# CI backends to support
121-
ci = "github"
122-
# The installers to generate for each app
123-
installers = ["shell"]
124-
# The archive format to use for non-windows builds (defaults .tar.xz)
125-
unix-archive = ".tar.gz"
126-
# Which actions to run on pull requests
127-
pr-run-mode = "plan"
128-
# Post-announce jobs to run in CI
129-
post-announce-jobs = ["./bump-action"]
130-
# Path that installers should place binaries in
131-
install-path = "CARGO_HOME"
132-
# Whether to install an updater program
133-
install-updater = false
134-
# Build only the required packages, and individually
135-
precise-builds = true
136-
137-
[workspace.metadata.dist.github-custom-runners]
138-
aarch64-unknown-linux-musl = "buildjet-2vcpu-ubuntu-2204-arm"

dist-workspace.toml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
[workspace]
2+
members = ["cargo:."]
3+
4+
# Config for 'dist'
5+
[dist]
6+
# Whether to consider the binaries in a package for distribution (defaults true)
7+
dist = true
8+
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
9+
cargo-dist-version = "0.30.3"
10+
# CI backends to support
11+
ci = "github"
12+
# The installers to generate for each app
13+
installers = ["shell"]
14+
# The archive format to use for non-windows builds (defaults .tar.xz)
15+
unix-archive = ".tar.gz"
16+
# Which actions to run on pull requests
17+
pr-run-mode = "plan"
18+
# Post-announce jobs to run in CI
19+
post-announce-jobs = ["./bump-action"]
20+
# Path that installers should place binaries in
21+
install-path = "CARGO_HOME"
22+
# Whether to install an updater program
23+
install-updater = false
24+
# Build only the required packages, and individually
25+
precise-builds = true
26+
27+
[dist.github-custom-runners]
28+
aarch64-unknown-linux-musl = "buildjet-2vcpu-ubuntu-2204-arm"

0 commit comments

Comments
 (0)