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