Skip to content

Commit 945895d

Browse files
committed
Update release.yml workflow
1 parent a1eae65 commit 945895d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
name: Release
22

3+
permissions:
4+
contents: write
5+
36
on:
47
push:
58
tags:
6-
- v[0-9]+.*
9+
- "[0-9]+.[0-9]+.[0-9]+"
710

811
jobs:
912
create-release:
1013
runs-on: ubuntu-latest
1114
steps:
12-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v3
1316
- uses: taiki-e/create-gh-release-action@v1
1417
#with:
1518
# (optional)
@@ -27,7 +30,7 @@ jobs:
2730
- windows-latest
2831
runs-on: ${{ matrix.os }}
2932
steps:
30-
- uses: actions/checkout@v2
33+
- uses: actions/checkout@v3
3134
- uses: taiki-e/upload-rust-binary-action@v1
3235
with:
3336
# (required)

0 commit comments

Comments
 (0)