Skip to content

Commit 0ac10ea

Browse files
committed
ci: fix cargo dist
1 parent 58282cb commit 0ac10ea

File tree

1 file changed

+17
-20
lines changed

1 file changed

+17
-20
lines changed

dist-workspace.toml

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,33 @@
11
[workspace]
22
members = ["cargo:."]
33

4+
# Config for 'dist'
45
[dist]
6+
# The archive format to use for windows builds (defaults .zip)
57
windows-archive = ".zip"
8+
# Whether failing tasks should make us give up on all other tasks
69
fail-fast = true
10+
# Whether to enable GitHub Attestations
711
github-attestations = true
12+
# Global artifacts jobs to run in CI
813
global-artifacts-jobs = ["./build-man"]
9-
# github-build-setup = "build-setup.yml"
10-
cargo-dist-version = "0.28.4"
11-
# pr-run-mode = "upload"
14+
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
15+
cargo-dist-version = "0.30.2"
16+
# Which actions to run on pull requests
1217
pr-run-mode = "plan"
18+
# CI backends to support
1319
ci = "github"
14-
installers = [
15-
"shell",
16-
# "homebrew",
17-
"powershell",
18-
]
19-
# tap = "elkowar/homebrew-tap"
20-
# publish-jobs = ["homebrew"]
20+
# The installers to generate for each app
21+
installers = ["shell", "powershell"]
22+
# Customize the Homebrew formula name
2123
formula = "yolk"
22-
targets = [
23-
# "aarch64-apple-darwin",
24-
"x86_64-apple-darwin",
25-
"x86_64-unknown-linux-gnu",
26-
"x86_64-pc-windows-msvc",
27-
"x86_64-unknown-linux-musl",
28-
]
24+
# Target platforms to build apps for (Rust target-triple syntax)
25+
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "x86_64-pc-windows-msvc"]
26+
# Path that installers should place binaries in
2927
install-path = "CARGO_HOME"
28+
# Whether to install an updater program
3029
install-updater = false
31-
32-
# include = ["yolk.man"]
33-
30+
# Skip checking whether the specified configuration files are up to date
3431
allow-dirty = ["ci"]
3532

3633
[dist.github-custom-runners]

0 commit comments

Comments
 (0)