Skip to content

Commit ef3cf90

Browse files
committed
workflows: Update flatpak-builder options
Since flatpak-builder uses deprecated upload-artifact version, disable it and upload ourselves. Also bump used runtime to GNOME 47 when building.
1 parent 4df8120 commit ef3cf90

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

.github/workflows/flatpak-nightly.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,18 @@ jobs:
3333
flatpak --system install -y --noninteractive flathub org.freedesktop.Sdk.Extension.rust-stable/${{ matrix.arch }}/24.08
3434
flatpak --system install -y --noninteractive flathub org.freedesktop.Sdk.Extension.llvm18/${{ matrix.arch }}/24.08
3535
- name: Build
36-
uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v6
36+
uses: flatpak/flatpak-github-actions/flatpak-builder@v6
3737
with:
3838
bundle: com.github.rafostar.Clapper.flatpak
3939
manifest-path: pkgs/flatpak/com.github.rafostar.Clapper-nightly.json
4040
repository-name: gnome-nightly
4141
repository-url: https://nightly.gnome.org/gnome-nightly.flatpakrepo
4242
cache-key: flatpak-builder-${{ github.sha }}-testing-${{ github.run_number }}
4343
arch: ${{ matrix.arch }}
44+
upload-artifact: false
45+
- name: Upload
46+
uses: actions/upload-artifact@v4
47+
with:
48+
name: clapper-flatpak-nightly-${{ matrix.arch }}
49+
path: com.github.rafostar.Clapper.flatpak
50+
if-no-files-found: error

.github/workflows/flatpak.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
timeout-minutes: 600
1515
container:
16-
image: bilelmoussaoui/flatpak-github-actions:gnome-45
16+
image: bilelmoussaoui/flatpak-github-actions:gnome-47
1717
options: --privileged
1818
strategy:
1919
matrix:
@@ -33,9 +33,16 @@ jobs:
3333
with:
3434
platforms: arm64
3535
- name: Build
36-
uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v6
36+
uses: flatpak/flatpak-github-actions/flatpak-builder@v6
3737
with:
3838
bundle: com.github.rafostar.Clapper.flatpak
3939
manifest-path: pkgs/flatpak/com.github.rafostar.Clapper.json
4040
cache-key: flatpak-builder-${{ github.sha }}
4141
arch: ${{ matrix.arch }}
42+
upload-artifact: false
43+
- name: Upload
44+
uses: actions/upload-artifact@v4
45+
with:
46+
name: clapper-flatpak-${{ matrix.arch }}
47+
path: com.github.rafostar.Clapper.flatpak
48+
if-no-files-found: error

0 commit comments

Comments
 (0)