fix(flatpak): use --user flag for flatpak commands in CI
This commit is contained in:
1 parent
d5b0bebaa1
commit
b40fc9b7e1
1 file changed
+4
-4
@@ -72,20 +72,20 @@ jobs:
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y flatpak flatpak-builder
|
||||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
|
||||
- name: Install runtimes
|
||||
run: |
|
||||
flatpak install -y --noninteractive flathub \
|
||||
flatpak install --user -y --noninteractive flathub \
|
||||
org.gnome.Platform//47 \
|
||||
org.gnome.Sdk//47 \
|
||||
org.freedesktop.Sdk.Extension.node20//24.08 \
|
||||
org.freedesktop.Sdk.Extension.rust-stable//24.08 || true
|
||||
org.freedesktop.Sdk.Extension.rust-stable//24.08
|
||||
|
||||
- name: Build Flatpak
|
||||
run: |
|
||||
mkdir -p flatpak-build flatpak-repo dist
|
||||
flatpak-builder --force-clean --repo=flatpak-repo flatpak-build packaging/flatpak/com.blitzkriegfc.qbz.yml
|
||||
flatpak-builder --user --force-clean --repo=flatpak-repo flatpak-build packaging/flatpak/com.blitzkriegfc.qbz.yml
|
||||
flatpak build-bundle flatpak-repo dist/QBZ.flatpak com.blitzkriegfc.qbz
|
||||
|
||||
- name: Upload Flatpak bundle
|
||||
|
||||
Reference in new issue
Block a user