File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ push :
5+ tags :
6+ - ' [0-9]+.[0-9]+.[0-9]+'
7+ pull_request :
8+ paths-ignore :
9+ - ' README.md'
10+
11+ concurrency :
12+ group : ${{ github.workflow }}-${{ github.ref }}
13+ cancel-in-progress : true
14+
15+ env :
16+ GO_VERSION : 1.24.2
17+
18+ jobs :
19+ libcore :
20+ name : build
21+ runs-on : ubuntu-latest
22+ steps :
23+ - name : Checkout
24+ uses : actions/checkout@v4
25+ with :
26+ ref : ${{ github.head_ref }}
27+
28+ - name : Setup Go ${{ env.GO_VERSION }}
29+ uses : actions/setup-go@v5
30+ with :
31+ go-version : ${{ env.GO_VERSION }}
32+
33+ - name : Build
34+ working-directory : scripts
35+ run : bash -x ./build.sh
36+
37+ - name : Calculate MD5 checksum
38+ run : echo "MD5=$(md5sum libcore.aar | cut -d ' ' -f 1)" >> $GITHUB_ENV
39+
40+ - name : Upload artifact
41+ uses : actions/upload-artifact@v4
42+ with :
43+ name : libcore-${{ env.MD5 }}
44+ path : libcore.aar
You can’t perform that action at this time.
0 commit comments