Skip to content

Commit 33a15cd

Browse files
authored
ci: fix release workflow (#11)
1 parent 80b2127 commit 33a15cd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ jobs:
77
# Source: https://crates.io/docs/trusted-publishing
88
publish:
99
runs-on: ubuntu-latest
10-
environment: release # Optional: for enhanced security
10+
environment: release
1111
permissions:
12-
id-token: write # Required for OIDC token exchange
12+
id-token: write
1313
steps:
1414
- uses: actions/checkout@v5
1515
- uses: rust-lang/crates-io-auth-action@v1
@@ -22,7 +22,8 @@ jobs:
2222
release:
2323
runs-on: ubuntu-latest
2424
steps:
25-
- name: Create release body
25+
- uses: actions/checkout@v5
26+
- name: Generate release body
2627
id: create_release_body
2728
run: |
2829
RELEASE_VERSION="${{ github.ref_name }}"
@@ -33,7 +34,6 @@ jobs:
3334
echo "${RELEASE_BODY}"
3435
echo EOF
3536
} >> $GITHUB_OUTPUT
36-
3737
- name: Create GitHub release
3838
env:
3939
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)