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

Commit

Permalink
🌇 Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
database64128 committed Aug 9, 2021
0 parents commit 9f81915
Show file tree
Hide file tree
Showing 5 changed files with 784 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build

on:
push:
tags:
- 'v*'

jobs:
publish:
name: Publish
strategy:
fail-fast: false
runs-on: ubuntu-latest
container:
image: archlinux/archlinux:base-devel

steps:
- uses: actions/checkout@v2
- name: Get version
id: get_version
run: echo "::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)"
- name: Run build script
run: bash ./build-static.sh ${{ steps.get_version.outputs.VERSION }}
- name: Package
env:
ZSTD_CLEVEL: 19
ZSTD_NBTHREADS: 2
run: |
cd installed-static
tar -acf ../qt-somewhere-static-${{ steps.get_version.outputs.VERSION }}-archlinux-x86_64.tar.zst .
- name: Upload release assets
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: qt-somewhere-static-${{ steps.get_version.outputs.VERSION }}-archlinux-x86_64.tar.zst
tag: ${{ github.ref }}
file_glob: false
overwrite: true
prerelease: false
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
qt*
installed-static
*.tar.zst
Loading

0 comments on commit 9f81915

Please sign in to comment.