File tree 1 file changed +40
-0
lines changed
1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build and release gatewayd-plugin-cache
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - " v*"
7
+
8
+ permissions :
9
+ contents : write
10
+
11
+ jobs :
12
+ build-and-release :
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - name : Checkout code
16
+ uses : actions/checkout@v3
17
+ with :
18
+ fetch-depth : 0
19
+ - name : Set up Go 1.22
20
+ uses : actions/setup-go@v3
21
+ with :
22
+ go-version : " 1.22"
23
+ cache : true
24
+ - name : Install dependencies
25
+ run : sudo apt-get update && sudo apt-get install -y gcc-aarch64-linux-gnu
26
+ - name : Build and release binaries
27
+ run : |
28
+ make build-release
29
+ - name : Create release and add artifacts
30
+ uses : softprops/action-gh-release@v1
31
+ with :
32
+ files : |
33
+ dist/*.tar.gz
34
+ dist/checksums.txt
35
+ dist/*.zip
36
+ draft : false
37
+ prerelease : false
38
+ tag_name : ${{ github.ref_name }}
39
+ name : ${{ github.ref_name }}
40
+ generate_release_notes : true
You can’t perform that action at this time.
0 commit comments