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 96fcdcb commit 27bf968Copy full SHA for 27bf968
.github/workflows/ci-build.yaml
@@ -0,0 +1,42 @@
1
+on:
2
+ push:
3
+ branches:
4
+ - master
5
+ - beta
6
+ - develop
7
+ tags:
8
+ - '[0-9]+.[0-9]+.[0-9]+'
9
+ - '[0-9]+.[0-9]+.[0-9]+-*'
10
+
11
+name: ci-build
12
13
+permissions:
14
+ contents: write
15
16
+jobs:
17
+ build:
18
+ name: Build Release Assets
19
+ runs-on: ubuntu-latest
20
+ steps:
21
+ - uses: actions/checkout@v4
22
+ - uses: actions/setup-go@v5
23
24
+ - name: Build for Windows
25
+ env:
26
+ GOOS: windows
27
+ GOARCH: amd64
28
+ run: go build -o app-win.exe
29
30
+ - name: Build for Linux
31
32
+ GOOS: linux
33
34
+ run: go build -o app-linux
35
36
+ - name: Upload build artifacts
37
+ uses: actions/upload-artifact@v4
38
+ with:
39
+ name: app-builds
40
+ path: |
41
+ app-win.exe
42
+ app-linux
0 commit comments