Skip to content

Commit 56a67e3

Browse files
authored
Update cargo-dist to 0.28 (#78)
1 parent 436bd66 commit 56a67e3

2 files changed

Lines changed: 7 additions & 12 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ on:
4747
jobs:
4848
# Run 'dist plan' (or host) to determine what tasks we need to do
4949
plan:
50-
runs-on: "ubuntu-24.04"
50+
runs-on: "ubuntu-20.04"
5151
outputs:
5252
val: ${{ steps.plan.outputs.manifest }}
5353
tag: ${{ !github.event.pull_request && github.ref_name || '' }}
@@ -63,7 +63,7 @@ jobs:
6363
# we specify bash to get pipefail; it guards against the `curl` command
6464
# failing. otherwise `sh` won't catch that `curl` returned non-0
6565
shell: bash
66-
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.27.0/cargo-dist-installer.sh | sh"
66+
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.28.0/cargo-dist-installer.sh | sh"
6767
- name: Cache dist
6868
uses: actions/upload-artifact@v4
6969
with:
@@ -172,7 +172,7 @@ jobs:
172172
needs:
173173
- plan
174174
- build-local-artifacts
175-
runs-on: "ubuntu-24.04"
175+
runs-on: "ubuntu-20.04"
176176
env:
177177
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
178178
BUILD_MANIFEST_NAME: target/distrib/global-dist-manifest.json
@@ -222,7 +222,7 @@ jobs:
222222
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') }}
223223
env:
224224
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
225-
runs-on: "ubuntu-24.04"
225+
runs-on: "ubuntu-20.04"
226226
outputs:
227227
val: ${{ steps.host.outputs.manifest }}
228228
steps:
@@ -286,7 +286,7 @@ jobs:
286286
# still allowing individual publish jobs to skip themselves (for prereleases).
287287
# "host" however must run to completion, no skipping allowed!
288288
if: ${{ always() && needs.host.result == 'success' }}
289-
runs-on: "ubuntu-24.04"
289+
runs-on: "ubuntu-20.04"
290290
env:
291291
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
292292
steps:

dist-workspace.toml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,13 @@ 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 = "0.27.0"
7+
cargo-dist-version = "0.28.0"
88
# CI backends to support
99
ci = "github"
1010
# The installers to generate for each app
1111
installers = []
1212
# Target platforms to build apps for (Rust target-triple syntax)
13-
targets = [
14-
"aarch64-apple-darwin",
15-
"x86_64-apple-darwin",
16-
"x86_64-unknown-linux-gnu",
17-
"x86_64-pc-windows-msvc",
18-
]
13+
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"]
1914
# Which actions to run on pull requests
2015
pr-run-mode = "upload"
2116

0 commit comments

Comments
 (0)