From fbe2f5b04bd1f140fe5e503b5e6749e9ef272146 Mon Sep 17 00:00:00 2001 From: XargonWan <6771419+XargonWan@users.noreply.github.com> Date: Tue, 5 Apr 2022 21:53:10 +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 f5d6ee31..3f8b5cb6 100644 --- a/.github/workflows/cooker.yml +++ b/.github/workflows/cooker.yml @@ -25,17 +25,20 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 - # Runs a set of commands using the runners shell - - name: Build flatpak + - name: Prepearing enviornment run: | - sudo apt install flatpak flatpak-builder + sudo apt install flatpak flatpak-builder 7z 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 + sudo flatpak install -y org.kde.Sdk//5.15-21.08 org.kde.Platform//5.15-21.08 7z + + # Runs a set of commands using the runners shell + - name: Building flatpak + run: | sudo flatpak-builder --user --install --force-clean retrodeck-flatpak com.xargon.retrodeck.yml sudo flatpak-builder --repo=local --force-clean localrepo com.xargon.retrodeck.yml sudo flatpak build-bundle local RetroDECK.flatpak com.xargon.retrodeck - - name: Create pre-release as draft at first to hide during uploads + - name: Publish the flatpak in a new cooker release uses: ncipollo/release-action@v1 with: tag: "${{ steps.version.outputs.version }}"