Flatpak #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |