Skip to content

Commit a7d8ced

Browse files
authored
updated dist to 0.30.2 (#999)
1 parent 342a3ba commit a7d8ced

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515

1616
name: Release
1717
permissions:
18-
"attestations": "write"
1918
"contents": "write"
20-
"id-token": "write"
2119

2220
# This task will run whenever you push a git tag that looks like a version
2321
# like "1.0.0", "v0.1.0-prerelease.1", "my-app/0.1.0", "releases/v1.0.0", etc.
@@ -66,7 +64,7 @@ jobs:
6664
# we specify bash to get pipefail; it guards against the `curl` command
6765
# failing. otherwise `sh` won't catch that `curl` returned non-0
6866
shell: bash
69-
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.29.0/cargo-dist-installer.sh | sh"
67+
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.30.2/cargo-dist-installer.sh | sh"
7068
- name: Cache dist
7169
uses: actions/upload-artifact@v4
7270
with:
@@ -114,6 +112,10 @@ jobs:
114112
env:
115113
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
116114
BUILD_MANIFEST_NAME: target/distrib/${{ join(matrix.targets, '-') }}-dist-manifest.json
115+
permissions:
116+
"attestations": "write"
117+
"contents": "read"
118+
"id-token": "write"
117119
steps:
118120
- name: enable windows longpaths
119121
run: |
@@ -223,8 +225,8 @@ jobs:
223225
- plan
224226
- build-local-artifacts
225227
- build-global-artifacts
226-
# Only run if we're "publishing", and only if local and global didn't fail (skipped is fine)
227-
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') }}
228+
# Only run if we're "publishing", and only if plan, local and global didn't fail (skipped is fine)
229+
if: ${{ always() && needs.plan.result == 'success' && 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') }}
228230
env:
229231
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
230232
runs-on: "ubuntu-latest"

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.29.0"
7+
cargo-dist-version = "0.30.2"
88
# CI backends to support
99
ci = "github"
1010
# The installers to generate for each app

0 commit comments

Comments
 (0)