Skip to content

Commit af26991

Browse files
committed
Update cargo-dist
1 parent 7cc2658 commit af26991

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/release.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# This file was autogenerated by cargo-dist: https://opensource.axo.dev/cargo-dist/
2+
#
13
# Copyright 2022-2024, axodotdev
24
# SPDX-License-Identifier: MIT or Apache-2.0
35
#
@@ -61,7 +63,7 @@ jobs:
6163
# we specify bash to get pipefail; it guards against the `curl` command
6264
# failing. otherwise `sh` won't catch that `curl` returned non-0
6365
shell: bash
64-
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.21.0/cargo-dist-installer.sh | sh"
66+
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.22.1/cargo-dist-installer.sh | sh"
6567
- name: Cache cargo-dist
6668
uses: actions/upload-artifact@v4
6769
with:

Cargo.toml

+7-3
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ default-members = [
1717
# Config for 'cargo dist'
1818
[workspace.metadata.dist]
1919
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
20-
cargo-dist-version = "0.21.0"
20+
cargo-dist-version = "0.22.1"
2121
# CI backends to support
2222
ci = "github"
2323
# The installers to generate for each app
24-
installers = ["shell", "powershell"]
24+
installers = ["shell"]
2525
# Target platforms to build apps for (Rust target-triple syntax)
26-
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"]
26+
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu"]
2727
# Whether to consider the binaries in a package for distribution (defaults true)
2828
dist = false
2929
# Which actions to run on pull requests
@@ -33,6 +33,10 @@ install-updater = false
3333
# Path that installers should place binaries in
3434
install-path = "CARGO_HOME"
3535

36+
[workspace.metadata.dist.github-custom-runners]
37+
aarch64-apple-darwin = "macos-14"
38+
x86_64-apple-darwin = "macos-12"
39+
3640
# Config for 'cargo release'
3741
[workspace.metadata.release]
3842
shared-version = true # ensures published packages share the same version

0 commit comments

Comments
 (0)