File tree 1 file changed +47
-0
lines changed
1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : build
2
+
3
+ on :
4
+ push :
5
+ branches : [ "main" ]
6
+ tags : ' *'
7
+ pull_request :
8
+ # The branches below must be a subset of the branches above
9
+ branches : [ "main" ]
10
+
11
+ permissions :
12
+ contents : write # needed for releases
13
+
14
+ jobs :
15
+ build :
16
+ name : Build
17
+ runs-on : " ubuntu-22.04"
18
+
19
+ steps :
20
+ - name : Checkout
21
+ uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
22
+ with :
23
+ submodules : recursive
24
+
25
+ - name : Compile
26
+ uses : devcontainers/ci@a56d055efecd725e8cfe370543b6071b79989cc8 # v0.3.1900000349
27
+ with :
28
+ imageName : blobfuse2-alpine-build
29
+ push : never
30
+ runCmd : ./build-patch.sh
31
+
32
+ - name : Publish
33
+ uses : actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
34
+ with :
35
+ name : blobfuse2-alpine
36
+ path : ./blobfuse2_Linux_musl_64bit
37
+
38
+ - name : Release
39
+ if : startsWith(github.ref, 'refs/tags/')
40
+ uses : softprops/action-gh-release@c062e08bd532815e2082a85e87e3ef29c3e6d191 # v2.0.8
41
+ with :
42
+ files : |
43
+ blobfuse2_Linux_musl_64bit
44
+ generate_release_notes : true
45
+ name : ${{ github.ref_name }}
46
+ prerelease : ${{ contains(github.ref_name, '-') }}
47
+ tag_name : ${{ github.ref }}
You can’t perform that action at this time.
0 commit comments