Skip to content

Commit 300f68b

Browse files
author
n3kosempai
committed
[fix] solved image gknome flatpak
1 parent b2a5530 commit 300f68b

1 file changed

Lines changed: 6 additions & 15 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -92,26 +92,17 @@ jobs:
9292
if: needs.check-release.outputs.should_release == 'true'
9393
runs-on: ubuntu-22.04
9494
container:
95-
image: bilelmoussaoui/flatpak-github-actions:gnome-48
95+
image: bilelmoussaoui/flatpak-github-actions:gnome-47
9696
options: --privileged
9797
steps:
9898
- uses: actions/checkout@v4
9999

100-
- name: Setup Flatpak
101-
run: |
102-
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
103-
flatpak install -y flathub org.gnome.Platform//48 org.gnome.Sdk//48
104-
flatpak install -y flathub org.freedesktop.Sdk.Extension.rust-stable//23.08
105-
flatpak install -y flathub org.freedesktop.Sdk.Extension.node20//23.08
106-
107100
- name: Build Flatpak
108-
run: |
109-
flatpak-builder --repo=repo --force-clean --install-deps-from=flathub build-dir com.gatorand.klia-store.yml
110-
111-
- name: Create Flatpak bundle
112-
run: |
113-
VERSION="${{ needs.check-release.outputs.version }}"
114-
flatpak build-bundle repo "Klia-Store-beta${VERSION}.flatpak" com.gatorand.klia-store
101+
uses: flatpak/flatpak-github-actions/flatpak-builder@v6
102+
with:
103+
bundle: Klia-Store-beta${{ needs.check-release.outputs.version }}.flatpak
104+
manifest-path: com.gatorand.klia-store.yml
105+
cache-key: flatpak-builder-${{ github.sha }}
115106

116107
- name: Upload Flatpak artifact
117108
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)