Update cooker.yml

This commit is contained in:
XargonWan 2022-04-06 20:31:43 +09:00 committed by GitHub
parent 76fd9227a5
commit 5bd3aee234

View file

@ -30,15 +30,17 @@ jobs:
git submodule init
git submodule update
- name: Initializing Flatpak Builder
uses: bilelmoussaoui/flatpak-github-actions@v2
# Runs a set of commands using the runners shell
- name: Building flatpak
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: Building flatpak
# 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
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4
with:
bundle: RetroDECK.flatpak
manifest-path: com.xargon.retrodeck.yml
cache-key: flatpak-builder-${{ github.sha }}
- name: Publish the flatpak in a new cooker release
uses: ncipollo/release-action@v1