mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
Update cooker.yml
This commit is contained in:
parent
4dcdcd0cda
commit
c4c22055ef
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
|
||||
jobs:
|
||||
# This workflow contains a single job called "build"
|
||||
build_cooker_snap:
|
||||
# The type of runner that the job will run on
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
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
|
||||
|
@ -36,13 +30,22 @@ jobs:
|
|||
# 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
|
||||
|
||||
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
|
||||
with:
|
||||
bundle: RetroDECK.flatpak
|
||||
manifest-path: com.xargon.retrodeck.yml
|
||||
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
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue