Update cooker.yml

This commit is contained in:
XargonWan 2022-04-06 20:21:19 +09:00 committed by GitHub
parent d22984d893
commit 9af69a277d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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