Update cooker.yml

This commit is contained in:
XargonWan 2022-04-06 20:46:31 +09:00 committed by GitHub
parent c4c22055ef
commit 19d8b9ac3d

View file

@ -17,7 +17,11 @@ on:
jobs: jobs:
build_cooker_snap: build_cooker_snap:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:kde-5.15-21.08
options: --privileged
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Prepearing enviornment - name: Prepearing enviornment
run: | run: |
@ -31,21 +35,13 @@ jobs:
# flatpak-builder --repo=local --force-clean localrepo com.xargon.retrodeck.yml # flatpak-builder --repo=local --force-clean localrepo com.xargon.retrodeck.yml
# flatpak build-bundle local RetroDECK.flatpak com.xargon.retrodeck # 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 - uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4
- name: Build Flatpak
with: with:
bundle: RetroDECK.flatpak bundle: RetroDECK.flatpak
manifest-path: com.xargon.retrodeck.yml manifest-path: com.xargon.retrodeck.yml
cache-key: flatpak-builder-${{ github.sha }} cache-key: flatpak-builder-${{ github.sha }}
Create_cooker_release:
runs-on: ubuntu-latest
steps:
- name: Publish the flatpak in a new cooker release - name: Publish the flatpak in a new cooker release
uses: ncipollo/release-action@v1 uses: ncipollo/release-action@v1
with: with: