Skip to content

Flatpak

Flatpak #9

Workflow file for this run

name: "Flatpak"
# manual trigger
on:
workflow_dispatch:
jobs:
flatpak:
name: "Flatpak"
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:kde-6.6
options: --privileged
steps:
- uses: actions/checkout@v4
# Fedora docker container missing wget
- name: Install Dependencies
run: sudo dnf -y install wget
- name: Get Flatpak yaml
run: |
wget -c -nv "https://github.com/inyokaproject/inyokaedit/raw/packaging/Flatpak/org.inyokaproject.inyokaedit.yaml"
- name: Download ffsend
run: |
FFSEND_VERSION=$(curl --silent https://api.github.com/repos/timvisee/ffsend/releases/latest | sed -Ene '/^ *"tag_name": *"(v.+)",$/s//\1/p')
wget -c -nv "https://github.com/timvisee/ffsend/releases/download/$FFSEND_VERSION/ffsend-$FFSEND_VERSION-linux-x64-static"
mv ./ffsend-* ./ffsend
chmod a+x ./ffsend
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
bundle: org.inyokaproject.inyokaedit.flatpak
manifest-path: org.inyokaproject.inyokaedit.yaml
cache-key: flatpak-builder-${{ github.sha }}