Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 9f81915

Browse files
committed
🌇 Initial commit
0 parents  commit 9f81915

File tree

5 files changed

+784
-0
lines changed

5 files changed

+784
-0
lines changed

.github/workflows/build.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
qt*
2+
installed-static
3+
*.tar.zst

0 commit comments

Comments
 (0)