Skip to content

Commit 03f7357

Browse files
authored
Update blank.yml
1 parent 92a2dd3 commit 03f7357

File tree

1 file changed

+24
-14
lines changed

1 file changed

+24
-14
lines changed

.github/workflows/blank.yml

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,35 +9,40 @@ on:
99

1010
jobs:
1111
build:
12-
runs-on: ubuntu-latest
12+
name: "${{ matrix.name }} (${{ matrix.arch }})"
13+
runs-on: ${{ matrix.runs-on }}
14+
strategy:
15+
matrix:
16+
include:
17+
- runs-on: ubuntu-latest
18+
name: "Build AppImage"
19+
arch: x86_64
20+
- runs-on: ubuntu-24.04-arm
21+
name: "Build AppImage"
22+
arch: aarch64
1323
container: alpine:latest
1424
steps:
1525
- uses: actions/checkout@v4
1626

1727
- name: Get dependencies
18-
if: always()
1928
run: chmod +x ./get-dependencies.sh && ./get-dependencies.sh
2029

2130
- name: Make AppImage
2231
run: chmod +x ./*-appimage.sh && ./*-appimage.sh
2332

24-
- name: Check version file
25-
run: |
26-
cat ~/version
27-
echo "APP_VERSION=$(cat ~/version)" >> "${GITHUB_ENV}"
28-
2933
- name: Upload artifact
3034
uses: actions/upload-artifact@v4.6.2
3135
with:
32-
name: AppImage
33-
path: 'dist'
34-
36+
name: AppImage-${{ matrix.arch }}
37+
path: "dist"
38+
3539
- name: Upload version file
3640
uses: actions/upload-artifact@v4.6.2
3741
with:
38-
name: version
39-
path: ~/version
40-
42+
name: version
43+
path: ~/version
44+
overwrite: true
45+
4146
release:
4247
needs: [build]
4348
permissions: write-all
@@ -46,7 +51,12 @@ jobs:
4651
steps:
4752
- uses: actions/download-artifact@v4.3.0
4853
with:
49-
name: AppImage
54+
name: AppImage-x86_64
55+
56+
- uses: actions/download-artifact@v4.3.0
57+
with:
58+
name: AppImage-aarch64
59+
5060
- uses: actions/download-artifact@v4.3.0
5161
with:
5262
name: version

0 commit comments

Comments
 (0)