mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-27 08:05:42 +00:00
WORKFLOW: restored old tag system, new one must be investigated
This commit is contained in:
parent
5415379e3e
commit
1dd0dd67e6
19
.github/workflows/cooker.yml
vendored
19
.github/workflows/cooker.yml
vendored
|
@ -112,14 +112,14 @@ jobs:
|
|||
sudo flatpak-builder --user --force-clean --repo=$GITHUB_WORKSPACE/local retrodeck-flatpak-cooker net.retrodeck.retrodeck.yml
|
||||
sudo flatpak build-bundle $GITHUB_WORKSPACE/local RetroDECK.flatpak net.retrodeck.retrodeck
|
||||
|
||||
# - 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: Read version from version file
|
||||
id: version
|
||||
|
@ -128,7 +128,8 @@ jobs:
|
|||
- name: Publish the flatpak in a new cooker release
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
tag: "${{ steps.version.outputs.version }}"
|
||||
#tag: "${{ steps.version.outputs.version }}"
|
||||
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}}.
|
||||
|
@ -157,4 +158,4 @@ jobs:
|
|||
with:
|
||||
name: global-cache
|
||||
path: retrodeck-cooker.tar.gz RetroDECK.flatpak
|
||||
continue-on-error: true
|
||||
continue-on-error: true
|
||||
|
|
Loading…
Reference in a new issue