Skip to content

Commit 8ff4d08

Browse files
authored
Update cargo-dist (#543)
1 parent 4a6019e commit 8ff4d08

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.github/workflows/release.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
# we specify bash to get pipefail; it guards against the `curl` command
6363
# failing. otherwise `sh` won't catch that `curl` returned non-0
6464
shell: bash
65-
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.13.2/cargo-dist-installer.sh | sh"
65+
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.14.1/cargo-dist-installer.sh | sh"
6666
# sure would be cool if github gave us proper conditionals...
6767
# so here's a doubly-nested ternary-via-truthiness to try to provide the best possible
6868
# functionality based on whether this is a pull_request, and whether it's from a fork.
@@ -105,6 +105,9 @@ jobs:
105105
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
106106
BUILD_MANIFEST_NAME: target/distrib/${{ join(matrix.targets, '-') }}-dist-manifest.json
107107
steps:
108+
- name: enable windows longpaths
109+
run: |
110+
git config --global core.longpaths true
108111
- uses: actions/checkout@v4
109112
with:
110113
submodules: recursive
@@ -164,7 +167,7 @@ jobs:
164167
submodules: recursive
165168
- name: Install cargo-dist
166169
shell: bash
167-
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.13.2/cargo-dist-installer.sh | sh"
170+
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.14.1/cargo-dist-installer.sh | sh"
168171
# Get all the local artifacts for the global tasks to use (for e.g. checksums)
169172
- name: Fetch local artifacts
170173
uses: actions/download-artifact@v4
@@ -209,7 +212,7 @@ jobs:
209212
with:
210213
submodules: recursive
211214
- name: Install cargo-dist
212-
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.13.2/cargo-dist-installer.sh | sh"
215+
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.14.1/cargo-dist-installer.sh | sh"
213216
# Fetch artifacts from scratch-storage
214217
- name: Fetch artifacts
215218
uses: actions/download-artifact@v4

Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -190,17 +190,17 @@ license = "AGPL-3.0-or-later"
190190
# Whether to pass --all-features to cargo build
191191
all-features = true
192192
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
193-
cargo-dist-version = "0.13.2"
193+
cargo-dist-version = "0.14.1"
194194
# CI backends to support
195-
ci = ["github"]
195+
ci = "github"
196196
# The installers to generate for each app
197197
installers = ["powershell", "shell"]
198198
# Target platforms to build apps for (Rust target-triple syntax)
199199
targets = [
200200
"aarch64-apple-darwin",
201201
"x86_64-apple-darwin",
202202
"x86_64-pc-windows-msvc",
203-
"x86_64-unknown-linux-gnu",
203+
"x86_64-unknown-linux-musl",
204204
]
205205
# Publish jobs to run in CI
206206
pr-run-mode = "plan"

0 commit comments

Comments
 (0)