From cefe1ed7adbee2c83b2e142754c584338fa34a67 Mon Sep 17 00:00:00 2001 From: XargonWan <6771419+XargonWan@users.noreply.github.com> Date: Wed, 6 Apr 2022 20:43:10 +0900 Subject: [PATCH] Update cooker.yml --- .github/workflows/cooker.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cooker.yml b/.github/workflows/cooker.yml index 2fcd6184..0b08e5cb 100644 --- a/.github/workflows/cooker.yml +++ b/.github/workflows/cooker.yml @@ -15,16 +15,10 @@ on: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: - # This workflow contains a single job called "build" build_cooker_snap: - # The type of runner that the job will run on runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job 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 @@ -36,13 +30,22 @@ jobs: # 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 + + Build_flatpak: + runs-on: ubuntu-latest + container: + image: bilelmoussaoui/flatpak-github-actions:kde-5.15-21.08 + options: --privileged + steps: - uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4 with: bundle: RetroDECK.flatpak manifest-path: com.xargon.retrodeck.yml cache-key: flatpak-builder-${{ github.sha }} - image: bilelmoussaoui/flatpak-github-actions:kde-5.15-21.08 + Create_cooker_release: + runs-on: ubuntu-latest + steps: - name: Publish the flatpak in a new cooker release uses: ncipollo/release-action@v1 with: