mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 15:35:38 +00:00
[TEST] Pipeline: testing new tag variable
This commit is contained in:
parent
d364a34f4b
commit
c16900b1c3
44
.github/workflows/[TEST] cooker-selfhosted.yml
vendored
Normal file
44
.github/workflows/[TEST] cooker-selfhosted.yml
vendored
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
name: cooker-selfhosted
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- cooker*
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- cooker*
|
||||||
|
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
Building_RetroDECK:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: Generate build ID
|
||||||
|
id: generating_buildid
|
||||||
|
run: echo "##[set-output name=build-id;]$(echo "$( git rev-parse --short HEAD )")"
|
||||||
|
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Set environment variable with current branch name
|
||||||
|
run: echo "GITHUB_REF_SLUG=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Publish the flatpak in a new cooker release
|
||||||
|
uses: ncipollo/release-action@v1
|
||||||
|
with:
|
||||||
|
tag: "${{ env.GITHUB_REF_SLUG }}-${{ steps.generating_buildid.outputs.build-id }}"
|
||||||
|
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.
|
||||||
|
|
||||||
|
allowUpdates: true
|
||||||
|
draft: true
|
||||||
|
token: ${{ secrets.TRIGGER_BUILD_TOKEN }}
|
||||||
|
repo: RetroDECK-cooker
|
||||||
|
continue-on-error: true
|
7
.github/workflows/cooker-selfhosted.yml
vendored
7
.github/workflows/cooker-selfhosted.yml
vendored
|
@ -61,13 +61,10 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
flatpak build-bundle ${GITHUB_WORKSPACE}/local RetroDECK.flatpak net.retrodeck.retrodeck
|
flatpak build-bundle ${GITHUB_WORKSPACE}/local RetroDECK.flatpak net.retrodeck.retrodeck
|
||||||
|
|
||||||
- name: Set environment variable with current branch name
|
|
||||||
run: echo "GITHUB_REF_SLUG=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- 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: "${{ env.GITHUB_REF_SLUG }}-${{ steps.generating_buildid.outputs.build-id }}"
|
tag: "${{ steps.generating_buildid.outputs.build-id }}"
|
||||||
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}}.
|
||||||
|
@ -89,4 +86,4 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: retrodeck-flatpak
|
name: retrodeck-flatpak
|
||||||
path: RetroDECK.flatpak
|
path: RetroDECK.flatpak
|
||||||
continue-on-error: true
|
continue-on-error: true
|
Loading…
Reference in a new issue