From b1e220a07357fe854caf58f4f446e8be18610915 Mon Sep 17 00:00:00 2001 From: Xargon Date: Sat, 21 May 2022 09:35:22 +0900 Subject: [PATCH] WORKFLOW: fixed version reader --- .github/workflows/cooker.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cooker.yml b/.github/workflows/cooker.yml index ca647a69..d541580d 100644 --- a/.github/workflows/cooker.yml +++ b/.github/workflows/cooker.yml @@ -117,14 +117,14 @@ jobs: # run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" # id: extract_branch - - name: Generate tag - id: tag - run: "##[set-output name=tag;]echo $(flatpak run net.retrodeck.retrodeck -v)" + - name: Read version from version file + id: version + run: "##[set-output name=version;]cat $(find . -name version)" - name: Publish the flatpak in a new cooker release uses: ncipollo/release-action@v1 with: - tag: "${{ steps.tag.outputs.tag }}" + tag: "${{ steps.version.outputs.version }}" body: | # Release Notes (Cooker) This is a cooker snapshot based on the commit: ${{ github.event.repository.full_name }}@${{github.sha}}.