Skip to content

Commit 114f991

Browse files
update dist
1 parent b4fa466 commit 114f991

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

.github/workflows/publish-crates.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
run: cargo hakari remove-deps -y
4444

4545
- name: Dry run publish to crates.io
46-
run: cargo publish --workspace --dry-run --allow-dirty --locked
46+
run: cargo publish --workspace --dry-run --allow-dirty
4747

4848
crates-io-publish:
4949
name: Publish to crates.io
@@ -92,4 +92,4 @@ jobs:
9292
tool: cargo-hakari
9393

9494
- name: Publish to crates.io
95-
run: cargo hakari publish --package ${{ matrix.crate }} --token=$CARGO_REGISTRY_TOKEN --locked
95+
run: cargo hakari publish --package ${{ matrix.crate }} --token=$CARGO_REGISTRY_TOKEN

.github/workflows/release.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was autogenerated by dist: https://opensource.axo.dev/cargo-dist/
1+
# This file was autogenerated by dist: https://axodotdev.github.io/cargo-dist
22
#
33
# Copyright 2022-2024, axodotdev
44
# SPDX-License-Identifier: MIT or Apache-2.0
@@ -60,12 +60,13 @@ jobs:
6060
steps:
6161
- uses: actions/checkout@v4
6262
with:
63+
persist-credentials: false
6364
submodules: recursive
6465
- name: Install dist
6566
# we specify bash to get pipefail; it guards against the `curl` command
6667
# failing. otherwise `sh` won't catch that `curl` returned non-0
6768
shell: bash
68-
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.28.0/cargo-dist-installer.sh | sh"
69+
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.30.0/cargo-dist-installer.sh | sh"
6970
- name: Cache dist
7071
uses: actions/upload-artifact@v4
7172
with:
@@ -119,6 +120,7 @@ jobs:
119120
git config --global core.longpaths true
120121
- uses: actions/checkout@v4
121122
with:
123+
persist-credentials: false
122124
submodules: recursive
123125
- name: Install Rust non-interactively if not already installed
124126
if: ${{ matrix.container }}
@@ -145,7 +147,7 @@ jobs:
145147
dist build ${{ needs.plan.outputs.tag-flag }} --print=linkage --output-format=json ${{ matrix.dist_args }} > dist-manifest.json
146148
echo "dist ran successfully"
147149
- name: Attest
148-
uses: actions/attest-build-provenance@v1
150+
uses: actions/attest-build-provenance@v2
149151
with:
150152
subject-path: "target/distrib/*${{ join(matrix.targets, ', ') }}*"
151153
- id: cargo-dist
@@ -181,6 +183,7 @@ jobs:
181183
steps:
182184
- uses: actions/checkout@v4
183185
with:
186+
persist-credentials: false
184187
submodules: recursive
185188
- name: Install cached dist
186189
uses: actions/download-artifact@v4
@@ -230,6 +233,7 @@ jobs:
230233
steps:
231234
- uses: actions/checkout@v4
232235
with:
236+
persist-credentials: false
233237
submodules: recursive
234238
- name: Install cached dist
235239
uses: actions/download-artifact@v4
@@ -294,4 +298,5 @@ jobs:
294298
steps:
295299
- uses: actions/checkout@v4
296300
with:
301+
persist-credentials: false
297302
submodules: recursive

dist-workspace.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ 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.28.0"
7+
cargo-dist-version = "0.30.0"
88
# CI backends to support
99
ci = "github"
1010
# The installers to generate for each app

0 commit comments

Comments
 (0)