We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent affaca1 commit 6c62257Copy full SHA for 6c62257
1 file changed
.github/workflows/main.yml
@@ -0,0 +1,31 @@
1
+name: Build and Release Binaries
2
+on:
3
+ release:
4
+ types:
5
+ - created
6
+jobs:
7
+ build:
8
+ name: Build and Release Binaries
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Checkout code
12
+ uses: actions/checkout@v4
13
+ - name: Set up Go
14
+ uses: actions/setup-go@v5
15
+ with:
16
+ go-version: 1.23.1
17
+ - name: Display the version of go that we have installed
18
+ run: go version
19
+ - name: Display the release tag
20
+ run: echo ${{ github.event.release.tag_name }}
21
+ - name: Build binaries
22
+ run: make build
23
+ - name: List binaries
24
+ run: ls -l ./dist
25
+ - name: Upload the Rodeo binaries
26
+ uses: svenstaro/upload-release-action@v2
27
28
+ repo_token: ${{ secrets.GITHUB_TOKEN }}
29
+ tag: ${{ github.event.release.tag_name }}
30
+ file: ./dist/netmap-*
31
+ file_glob: true
0 commit comments