Skip to content

Commit d3d5d54

Browse files
committed
use ubuntu 24.04
1 parent b986eaf commit d3d5d54

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 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-22.04"
50+
runs-on: "ubuntu-24.04"
5151
outputs:
5252
val: ${{ steps.plan.outputs.manifest }}
5353
tag: ${{ !github.event.pull_request && github.ref_name || '' }}
@@ -170,7 +170,7 @@ jobs:
170170
needs:
171171
- plan
172172
- build-local-artifacts
173-
runs-on: "ubuntu-22.04"
173+
runs-on: "ubuntu-24.04"
174174
env:
175175
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
176176
BUILD_MANIFEST_NAME: target/distrib/global-dist-manifest.json
@@ -221,7 +221,7 @@ jobs:
221221
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') }}
222222
env:
223223
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
224-
runs-on: "ubuntu-22.04"
224+
runs-on: "ubuntu-24.04"
225225
outputs:
226226
val: ${{ steps.host.outputs.manifest }}
227227
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-22.04"
289+
runs-on: "ubuntu-24.04"
290290
env:
291291
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
292292
steps:

dist-workspace.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,18 @@ ci = "github"
1010
# The installers to generate for each app
1111
installers = ["shell"]
1212
# Target platforms to build apps for (Rust target-triple syntax)
13-
targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "aarch64-pc-windows-msvc", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"]
13+
targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"]
1414
# Path that installers should place binaries in
1515
install-path = "CARGO_HOME"
1616
# Whether to install an updater program
1717
install-updater = true
1818

19+
[dist.github-custom-runners]
20+
global = "ubuntu-24.04"
21+
x86_64-unknown-linux-gnu = "ubuntu-24.04"
22+
aarch64-unknown-linux-gnu = "ubuntu-24.04"
23+
aarch64-pc-windows-msvc = "ubuntu-24.04"
24+
1925
# https://axodotdev.github.io/cargo-dist/book/reference/config.html?highlight=dependencies#dependencies
2026
[dist.dependencies.homebrew]
2127
protobuf = '*'

0 commit comments

Comments
 (0)