From 9af69a277d9d4692d780e14c16479958300e382b Mon Sep 17 00:00:00 2001 From: XargonWan <6771419+XargonWan@users.noreply.github.com> Date: Wed, 6 Apr 2022 20:21:19 +0900 Subject: [PATCH] Update cooker.yml --- .github/workflows/cooker.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cooker.yml b/.github/workflows/cooker.yml index e1681674..1c71a695 100644 --- a/.github/workflows/cooker.yml +++ b/.github/workflows/cooker.yml @@ -24,18 +24,21 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 + - name: Prepearing enviornment run: | git submodule init git submodule update - #sudo apt install flatpak flatpak-builder - #sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo - #sudo flatpak install -y org.kde.Sdk//5.15-21.08 org.kde.Platform//5.15-21.08 - #flatpak --version + - name: Initializing flatpak-action + uses: louib/flatpak-action@1.0.3 + # Runs a set of commands using the runners shell - name: Building flatpak - uses: louib/flatpak-action@1.0.3 + run: | + flatpak-builder --user --install --force-clean retrodeck-flatpak com.xargon.retrodeck.yml + flatpak-builder --repo=local --force-clean localrepo com.xargon.retrodeck.yml + flatpak build-bundle local RetroDECK.flatpak com.xargon.retrodeck - name: Publish the flatpak in a new cooker release uses: ncipollo/release-action@v1