Skip to content
This repository was archived by the owner on Dec 19, 2025. It is now read-only.

Commit 13a5ac4

Browse files
fix: release pipeline
1 parent 48ec23b commit 13a5ac4

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ name: Release
33
permissions:
44
contents: write
55
pull-requests: write
6+
discussions: write
67

78
on:
89
push:
910
tags:
10-
- 'v*.*.*'
11+
- "v*.*.*"
1112

1213
env:
1314
CARGO_TERM_COLOR: always
@@ -40,8 +41,6 @@ jobs:
4041
- name: Checkout
4142
uses: actions/checkout@v4
4243

43-
44-
4544
- name: Set tag
4645
id: set_tag
4746
run: |
@@ -56,8 +55,8 @@ jobs:
5655
5756
- name: Rustup
5857
run: |
59-
rustup install stable
60-
rustup default stable
58+
rustup update
59+
rustup default ${{ env.RUST_VERSION }}
6160
rustup target add ${{ matrix.platform.target }}
6261
6362
- name: Build
@@ -71,7 +70,7 @@ jobs:
7170
- name: Release
7271
uses: softprops/action-gh-release@v2
7372
with:
74-
token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
73+
token: ${{ secrets.GITHUB_TOKEN }}
7574
generate_release_notes: true
7675
files: |
7776
CHANGELOG.md

0 commit comments

Comments
 (0)