This repository was archived by the owner on Dec 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +784
-0
lines changed Expand file tree Collapse file tree 5 files changed +784
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*'
7+
8+ jobs :
9+ publish :
10+ name : Publish
11+ strategy :
12+ fail-fast : false
13+ runs-on : ubuntu-latest
14+ container :
15+ image : archlinux/archlinux:base-devel
16+
17+ steps :
18+ - uses : actions/checkout@v2
19+ - name : Get version
20+ id : get_version
21+ run : echo "::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)"
22+ - name : Run build script
23+ run : bash ./build-static.sh ${{ steps.get_version.outputs.VERSION }}
24+ - name : Package
25+ env :
26+ ZSTD_CLEVEL : 19
27+ ZSTD_NBTHREADS : 2
28+ run : |
29+ cd installed-static
30+ tar -acf ../qt-somewhere-static-${{ steps.get_version.outputs.VERSION }}-archlinux-x86_64.tar.zst .
31+ - name : Upload release assets
32+ uses : svenstaro/upload-release-action@v2
33+ with :
34+ repo_token : ${{ secrets.GITHUB_TOKEN }}
35+ file : qt-somewhere-static-${{ steps.get_version.outputs.VERSION }}-archlinux-x86_64.tar.zst
36+ tag : ${{ github.ref }}
37+ file_glob : false
38+ overwrite : true
39+ prerelease : false
Original file line number Diff line number Diff line change 1+ qt *
2+ installed-static
3+ * .tar.zst
You can’t perform that action at this time.
0 commit comments