mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-01-17 22:35:39 +00:00
New GitActions workflow for cooker - indentation fix
This commit is contained in:
parent
3eff544b6e
commit
4189d01445
110
.github/workflows/cooker.yml
vendored
110
.github/workflows/cooker.yml
vendored
|
@ -32,68 +32,68 @@ jobs:
|
||||||
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 io.qt.qtwebengine.BaseApp/x86_64/5.15-21.08 org.freedesktop.Sdk.Extension.llvm13
|
sudo flatpak install -y org.kde.Sdk//5.15-21.08 org.kde.Platform//5.15-21.08 io.qt.qtwebengine.BaseApp/x86_64/5.15-21.08 org.freedesktop.Sdk.Extension.llvm13
|
||||||
|
|
||||||
Job 2 - Downloading_Sources:
|
Job 2 - Downloading_Sources:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Downloading sources
|
- name: Downloading sources
|
||||||
run: |
|
run: |
|
||||||
sudo flatpak-builder --download-only --user --install --force-clean --repo=local retrodeck-flatpak net.retrodeck.retrodeck.yml
|
sudo flatpak-builder --download-only --user --install --force-clean --repo=local retrodeck-flatpak net.retrodeck.retrodeck.yml
|
||||||
|
|
||||||
Job 3 - Building_part_1:
|
Job 3 - Building_part_1:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Bulding part 1 - Until RetroArch Cores
|
- name: Bulding part 1 - Until RetroArch Cores
|
||||||
run: |
|
run: |
|
||||||
sudo flatpak-builder --build-only --stop-at=retroarch-cores --user --install --force-clean --repo=local retrodeck-flatpak net.retrodeck.retrodeck.yml
|
sudo flatpak-builder --build-only --stop-at=retroarch-cores --user --install --force-clean --repo=local retrodeck-flatpak net.retrodeck.retrodeck.yml
|
||||||
|
|
||||||
Job 4 - Building_part_2:
|
Job 4 - Building_part_2:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Bulding part 1 - Until the end
|
- name: Bulding part 1 - Until the end
|
||||||
run: |
|
run: |
|
||||||
sudo flatpak-builder --build-only --user --install --force-clean --repo=local retrodeck-flatpak net.retrodeck.retrodeck.yml
|
sudo flatpak-builder --build-only --user --install --force-clean --repo=local retrodeck-flatpak net.retrodeck.retrodeck.yml
|
||||||
|
|
||||||
Job 5 - Finishing_build:
|
Job 5 - Finishing_build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Finishing build
|
- name: Finishing build
|
||||||
run: |
|
run: |
|
||||||
sudo flatpak-builder --finish-only --user --install --force-clean --repo=local retrodeck-flatpak net.retrodeck.retrodeck.yml
|
sudo flatpak-builder --finish-only --user --install --force-clean --repo=local retrodeck-flatpak net.retrodeck.retrodeck.yml
|
||||||
|
|
||||||
Job 6 - Build_bundle:
|
Job 6 - Build_bundle:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Build bundle
|
- name: Build bundle
|
||||||
run: |
|
run: |
|
||||||
sudo flatpak build-bundle local RetroDECK.flatpak net.retrodeck.retrodeck
|
sudo flatpak build-bundle local RetroDECK.flatpak net.retrodeck.retrodeck
|
||||||
|
|
||||||
Job 7 - Publishing_flatpak:
|
Job 7 - Publishing_flatpak:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Get date for artifacts
|
- name: Get date for artifacts
|
||||||
id: date
|
id: date
|
||||||
run: echo "::set-output name=date::$(date +'%Y%m%d_%H%M')"
|
run: echo "::set-output name=date::$(date +'%Y%m%d_%H%M')"
|
||||||
|
|
||||||
- name: Extract branch name
|
- name: Extract branch name
|
||||||
shell: bash
|
shell: bash
|
||||||
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
|
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
|
||||||
id: extract_branch
|
id: extract_branch
|
||||||
|
|
||||||
- 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:
|
||||||
tag: "${{ steps.extract_branch.outputs.branch }}-${{ steps.date.outputs.date }}"
|
tag: "${{ steps.extract_branch.outputs.branch }}-${{ steps.date.outputs.date }}"
|
||||||
body: |
|
body: |
|
||||||
# Release Notes (Cooker)
|
# Release Notes (Cooker)
|
||||||
This is a cooker snapshot based on the commit: ${{ github.event.repository.full_name }}@${{github.sha}}.
|
This is a cooker snapshot based on the commit: ${{ github.event.repository.full_name }}@${{github.sha}}.
|
||||||
|
|
||||||
Cooker channel is provided for the community to test fixes and explore new functionality.
|
Cooker channel is provided for the community to test fixes and explore new functionality.
|
||||||
Please DO NOT open issues or ask support on this build.
|
Please DO NOT open issues or ask support on this build.
|
||||||
|
|
||||||
artifacts: "RetroDECK.flatpak"
|
artifacts: "RetroDECK.flatpak"
|
||||||
allowUpdates: true
|
allowUpdates: true
|
||||||
prerelease: true
|
prerelease: true
|
||||||
draft: false
|
draft: false
|
||||||
token: ${{ secrets.TRIGGER_BUILD_TOKEN }}
|
token: ${{ secrets.TRIGGER_BUILD_TOKEN }}
|
||||||
repo: RetroDECK-cooker
|
repo: RetroDECK-cooker
|
||||||
|
|
Loading…
Reference in a new issue