Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/publish-flatpak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ jobs:
container:
image: ghcr.io/flathub-infra/flatpak-github-actions:freedesktop-25.08
options: --privileged
# Updating a runtime that ships in the image fails with "Invalid cross-device link" on the
# image's layered filesystem. A volume starts as a copy of the image's installation.
volumes:
- /var/lib/flatpak
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand All @@ -48,6 +52,11 @@ jobs:
- name: Check out repository
uses: actions/checkout@v6

# flatpak-builder copies its cached git mirrors right after fetching them, while a
# background `git gc` could still be repacking them.
- name: Run git gc before fetches return
run: git config --global gc.autoDetach false

- name: Import repository signing key
id: signing
uses: crazy-max/ghaction-import-gpg@v7
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/validate-flatpak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,19 @@ jobs:
container:
image: ghcr.io/flathub-infra/flatpak-github-actions:freedesktop-25.08
options: --privileged
# Updating a runtime that ships in the image fails with "Invalid cross-device link" on the
# image's layered filesystem. A volume starts as a copy of the image's installation.
volumes:
- /var/lib/flatpak
steps:
- name: Check out repository
uses: actions/checkout@v6

# flatpak-builder copies its cached git mirrors right after fetching them, while a
# background `git gc` could still be repacking them.
- name: Run git gc before fetches return
run: git config --global gc.autoDetach false

- name: Build and test Flatpak
uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
Expand Down