Skip to content

Commit

Permalink
chore(ci): Using flatpak-github-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mfep committed May 27, 2024
1 parent ce25123 commit 537cc02
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,23 +49,22 @@ jobs:
build-flatpak:
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:freedesktop-23.08
options: --privileged
steps:
- uses: actions/checkout@v4
with:
submodules: true
lfs: true
- name: Install prerequisites
run: sudo apt-get update -y && sudo apt-get install -y
appstream-util
flatpak-builder
- name: Validate metainfo
run: appstream-util validate
${{github.workspace}}/data/packaging/xyz.safeworlds.midiconn.metainfo.xml
- name: Install flatpak prerequisites
run: sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo &&
sudo flatpak install -y flathub org.freedesktop.Sdk//23.08 org.freedesktop.Platform//23.08
- name: Build flatpak
run: flatpak-builder build/flatpak ${{github.workspace}}/data/packaging/xyz.safeworlds.midiconn.yml
uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
manifest-path: ${{github.workspace}}/data/packaging/xyz.safeworlds.midiconn.yml
cache-key: flatpak-builder-${{ github.sha }}

build-windows:
runs-on: windows-latest
Expand Down

0 comments on commit 537cc02

Please sign in to comment.