From 1dd0dd67e6553e8355e5a7700e5181440fdd0429 Mon Sep 17 00:00:00 2001 From: XargonWan <6771419+XargonWan@users.noreply.github.com> Date: Mon, 23 May 2022 09:33:28 +0900 Subject: [PATCH] WORKFLOW: restored old tag system, new one must be investigated --- .github/workflows/cooker.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/cooker.yml b/.github/workflows/cooker.yml index 70b7c4c9..ee40f595 100644 --- a/.github/workflows/cooker.yml +++ b/.github/workflows/cooker.yml @@ -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 \ No newline at end of file + continue-on-error: true