New GitActions workflow for cooker - indentation fix

This commit is contained in:
XargonWan 2022-04-30 10:42:26 +09:00
parent 02d0a74af5
commit 8387a6e55e

View file

@ -32,68 +32,68 @@ jobs:
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
Job 2 - Downloading_Sources:
runs-on: ubuntu-latest
steps:
- name: Downloading sources
run: |
sudo flatpak-builder --download-only --user --install --force-clean --repo=local retrodeck-flatpak net.retrodeck.retrodeck.yml
Job 2 - Downloading_Sources:
runs-on: ubuntu-latest
steps:
- name: Downloading sources
run: |
sudo flatpak-builder --download-only --user --install --force-clean --repo=local retrodeck-flatpak net.retrodeck.retrodeck.yml
Job 3 - Building_part_1:
runs-on: ubuntu-latest
steps:
- name: Bulding part 1 - Until RetroArch Cores
run: |
sudo flatpak-builder --build-only --stop-at=retroarch-cores --user --install --force-clean --repo=local retrodeck-flatpak net.retrodeck.retrodeck.yml
Job 3 - Building_part_1:
runs-on: ubuntu-latest
steps:
- name: Bulding part 1 - Until RetroArch Cores
run: |
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:
runs-on: ubuntu-latest
steps:
- name: Bulding part 1 - Until the end
run: |
sudo flatpak-builder --build-only --user --install --force-clean --repo=local retrodeck-flatpak net.retrodeck.retrodeck.yml
Job 4 - Building_part_2:
runs-on: ubuntu-latest
steps:
- name: Bulding part 1 - Until the end
run: |
sudo flatpak-builder --build-only --user --install --force-clean --repo=local retrodeck-flatpak net.retrodeck.retrodeck.yml
Job 5 - Finishing_build:
runs-on: ubuntu-latest
steps:
- name: Finishing build
run: |
sudo flatpak-builder --finish-only --user --install --force-clean --repo=local retrodeck-flatpak net.retrodeck.retrodeck.yml
Job 5 - Finishing_build:
runs-on: ubuntu-latest
steps:
- name: Finishing build
run: |
sudo flatpak-builder --finish-only --user --install --force-clean --repo=local retrodeck-flatpak net.retrodeck.retrodeck.yml
Job 6 - Build_bundle:
runs-on: ubuntu-latest
steps:
- name: Build bundle
run: |
sudo flatpak build-bundle local RetroDECK.flatpak net.retrodeck.retrodeck
Job 6 - Build_bundle:
runs-on: ubuntu-latest
steps:
- name: Build bundle
run: |
sudo flatpak build-bundle local RetroDECK.flatpak net.retrodeck.retrodeck
Job 7 - Publishing_flatpak:
runs-on: ubuntu-latest
steps:
Job 7 - Publishing_flatpak:
runs-on: ubuntu-latest
steps:
- name: Get date for artifacts
id: date
run: echo "::set-output name=date::$(date +'%Y%m%d_%H%M')"
- name: Get date for artifacts
id: date
run: echo "::set-output name=date::$(date +'%Y%m%d_%H%M')"
- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
id: extract_branch
- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
id: extract_branch
- name: Publish the flatpak in a new cooker release
uses: ncipollo/release-action@v1
with:
tag: "${{ steps.extract_branch.outputs.branch }}-${{ steps.date.outputs.date }}"
body: |
# Release Notes (Cooker)
This is a cooker snapshot based on the commit: ${{ github.event.repository.full_name }}@${{github.sha}}.
- name: Publish the flatpak in a new cooker release
uses: ncipollo/release-action@v1
with:
tag: "${{ steps.extract_branch.outputs.branch }}-${{ steps.date.outputs.date }}"
body: |
# Release Notes (Cooker)
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.
Please DO NOT open issues or ask support on this build.
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.
artifacts: "RetroDECK.flatpak"
allowUpdates: true
prerelease: true
draft: false
token: ${{ secrets.TRIGGER_BUILD_TOKEN }}
repo: RetroDECK-cooker
artifacts: "RetroDECK.flatpak"
allowUpdates: true
prerelease: true
draft: false
token: ${{ secrets.TRIGGER_BUILD_TOKEN }}
repo: RetroDECK-cooker