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

Commit 55faba2

Browse files
committed
🦪 Update workflow file and add dependabot
1 parent 9f81915 commit 55faba2

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: "/"
5+
schedule:
6+
interval: daily

.github/workflows/build.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,29 @@ on:
88
jobs:
99
publish:
1010
name: Publish
11-
strategy:
12-
fail-fast: false
1311
runs-on: ubuntu-latest
1412
container:
1513
image: archlinux/archlinux:base-devel
1614

1715
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+
2218
- 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+
2421
- name: Package
2522
env:
2623
ZSTD_CLEVEL: 19
2724
ZSTD_NBTHREADS: 2
2825
run: |
2926
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+
3129
- name: Upload release assets
3230
uses: svenstaro/upload-release-action@v2
3331
with:
3432
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
3634
tag: ${{ github.ref }}
3735
file_glob: false
3836
overwrite: true

0 commit comments

Comments
 (0)