Philipp Hörist pushed to branch master at gajim / gajim


Commits:
a98b9e9d by André at 2026-07-26T15:58:01+00:00
ci: Flatpak: Build single-file bundle

- - - - -


1 changed file:

- + .github/workflows/gajim-flatpak-nightly-build.yml


Changes:

=====================================
.github/workflows/gajim-flatpak-nightly-build.yml
=====================================
@@ -0,0 +1,37 @@
+name: Gajim Flatpak Nightly Build
+
+on:
+  workflow_dispatch:
+  schedule:
+    - cron: "0 1 * * *"
+
+jobs:
+  flatpak:
+    strategy:
+      matrix:
+        include:
+          - arch: x86_64
+            runner: ubuntu-latest
+            target: x86_64-unknown-linux-gnu
+            deb_arch: amd64
+          - arch: aarch64
+            runner: ubuntu-24.04-arm
+            target: aarch64-unknown-linux-gnu
+            deb_arch: arm64
+
+    runs-on: ${{ matrix.runner }}
+    steps:
+      - uses: actions/checkout@v7
+      - name: Install flatpak-builder
+        run: sudo apt install -y flatpak flatpak-builder
+      - name: Add flathub repository
+        run: flatpak remote-add --user --if-not-exists flathub 
https://flathub.org/repo/flathub.flatpakrepo
+      - name: Build flatpak
+        run: flatpak-builder --user --repo=flatpak_repo 
--install-deps-from=flathub --force-clean flatpak_build 
flatpak/org.gajim.Gajim.Devel.yaml
+      - name: Create single-file bundle
+        run: flatpak build-bundle 
--runtime-repo=https://flathub.org/repo/flathub.flatpakrepo flatpak_repo 
"gajim-nightly-${{ matrix.arch }}.flatpak" org.gajim.Gajim.Devel
+      - name: Get current date
+        id: date
+        run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
+      - name: Upload flatpak bundle via FTPS
+        run: "curl -T gajim-*.flatpak --ssl-reqd ftp://${{ secrets.ftp_user 
}}:${{ secrets.ftp_password }}@${{ secrets.ftp_server 
}}/./downloads/snap/linux/Gajim-${{ steps.date.outputs.date }}-${{ matrix.arch 
}}.flatpak"



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/a98b9e9d7795118308003ef7e44a252ba0976b5e

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/a98b9e9d7795118308003ef7e44a252ba0976b5e
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to