mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-30 09:35:40 +00:00
Update cooker.yml
This commit is contained in:
parent
d5976bdcae
commit
fbe2f5b04b
13
.github/workflows/cooker.yml
vendored
13
.github/workflows/cooker.yml
vendored
|
@ -25,17 +25,20 @@ jobs:
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
# Runs a set of commands using the runners shell
|
- name: Prepearing enviornment
|
||||||
- name: Build flatpak
|
|
||||||
run: |
|
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 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 --user --install --force-clean retrodeck-flatpak com.xargon.retrodeck.yml
|
||||||
sudo flatpak-builder --repo=local --force-clean localrepo 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
|
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
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
tag: "${{ steps.version.outputs.version }}"
|
tag: "${{ steps.version.outputs.version }}"
|
||||||
|
|
Loading…
Reference in a new issue