mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-23 14:35:39 +00:00
Update cooker.yml
This commit is contained in:
parent
2fcd5a8561
commit
cefe1ed7ad
17
.github/workflows/cooker.yml
vendored
17
.github/workflows/cooker.yml
vendored
|
@ -15,16 +15,10 @@ on:
|
||||||
|
|
||||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||||
jobs:
|
jobs:
|
||||||
# This workflow contains a single job called "build"
|
|
||||||
build_cooker_snap:
|
build_cooker_snap:
|
||||||
# The type of runner that the job will run on
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
|
||||||
steps:
|
steps:
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Prepearing enviornment
|
- name: Prepearing enviornment
|
||||||
run: |
|
run: |
|
||||||
git submodule init
|
git submodule init
|
||||||
|
@ -36,13 +30,22 @@ jobs:
|
||||||
# flatpak-builder --user --install --force-clean retrodeck-flatpak com.xargon.retrodeck.yml
|
# flatpak-builder --user --install --force-clean retrodeck-flatpak com.xargon.retrodeck.yml
|
||||||
# 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
|
||||||
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 }}
|
||||||
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
|
- name: Publish the flatpak in a new cooker release
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue