Skip to content

Commit abe6845

Browse files
authored
Fix release GH workflow
Try to fix GH workflow
1 parent 6dd1aeb commit abe6845

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/main.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ on: [push, pull_request]
55
jobs:
66
build:
77
runs-on: windows-latest
8+
permissions:
9+
contents: write
810
steps:
911
- name: Checkout
10-
uses: actions/checkout@v4
11-
- uses: actions/setup-go@v4
12+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
13+
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # 5.5.0
1214
with:
1315
go-version: '>=1.21.0'
1416
- run: go version
@@ -31,17 +33,18 @@ jobs:
3133
Compress-Archive -DestinationPath GoReSym-mac.zip -LiteralPath ./GoReSym -CompressionLevel Fastest
3234
Remove-Item ./GoReSym
3335
- name: Release Windows
34-
uses: softprops/action-gh-release@v0.1.12
36+
uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8 # 2.3.2
3537
if: startsWith(github.ref, 'refs/tags/')
3638
with:
3739
files: GoReSym-windows.zip
3840
- name: Release Linux
39-
uses: softprops/action-gh-release@v0.1.12
41+
uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8 # 2.3.2
4042
if: startsWith(github.ref, 'refs/tags/')
4143
with:
4244
files: GoReSym-linux.zip
4345
- name: Release Mac
44-
uses: softprops/action-gh-release@v0.1.12
46+
uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8 # 2.3.2
4547
if: startsWith(github.ref, 'refs/tags/')
4648
with:
4749
files: GoReSym-mac.zip
50+

0 commit comments

Comments
 (0)