We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a61cc8f commit 08ec6f0Copy full SHA for 08ec6f0
.github/workflows/release.yml
@@ -0,0 +1,34 @@
1
+name: Build and Release
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
8
+jobs:
9
+ build:
10
+ runs-on: windows-latest
11
12
+ steps:
13
+ - uses: actions/checkout@v4
14
15
+ - name: Install MinGW-w64
16
+ run: choco install mingw -y
17
18
+ - name: Set PATH for MinGW
19
+ run: echo "C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw64\bin" >> $env:GITHUB_PATH
20
21
+ - name: Set up Go
22
+ uses: actions/setup-go@v5
23
+ with:
24
+ go-version: '1.24'
25
26
+ - name: Build
27
+ run: go build -v -o Captr_Release_{{ github.ref_name }}.exe
28
29
+ - name: Upload Release
30
+ uses: softprops/action-gh-release@v2
31
32
+ files: Captr_Release_{{ github.ref_name }}.exe
33
+ env:
34
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments