Skip to content

Commit

Permalink
ci: try flathub-infra/flatpak-github-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hydroxycarbamide committed Nov 6, 2024
1 parent 807d773 commit 66dedd8
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
name: Flatpak
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-nightly
image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-47
options: --privileged
strategy:
matrix:
Expand All @@ -41,22 +41,29 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

with:
submodules: recursive

- name: Install dependencies
# Docker is required by the docker/setup-qemu-action which enables emulation
- name: Install docker
if: ${{ matrix.arch != 'x86_64' }}
run: |
dnf -y install docker
# Use the static binaries because it's unable to use a package manager
curl https://download.docker.com/linux/static/stable/x86_64/docker-27.3.1.tgz --output ./docker.tgz
tar xzvf docker.tgz
mv docker/* /usr/bin
- name: Install flatpak deps
run: flatpak install -y --noninteractive gnome-nightly org.gnome.Platform//master org.gnome.Sdk//master

- name: Set up QEMU
if: ${{ matrix.arch != 'x86_64' }}
id: qemu
uses: docker/setup-qemu-action@v3
with:
platforms: arm64

- uses: flatpak/flatpak-github-actions/[email protected]

- uses: flathub-infra/flatpak-github-actions/flatpak-builder@master
with:
repository-name: gnome-nightly
bundle: gradience-devel.flatpak
Expand Down

0 comments on commit 66dedd8

Please sign in to comment.