From f9ce9cbfd2a616095cf080e00df45f591029dd18 Mon Sep 17 00:00:00 2001 From: Xargon Date: Tue, 17 May 2022 12:17:45 +0900 Subject: [PATCH] WORKFLOW: fixing build-id --- .github/workflows/cooker.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cooker.yml b/.github/workflows/cooker.yml index 8529a198..ce2095ae 100644 --- a/.github/workflows/cooker.yml +++ b/.github/workflows/cooker.yml @@ -27,10 +27,8 @@ jobs: id: extract_branch - name: Generating build ID - run: echo "${{ steps.extract_branch.outputs.branch }}-${{ steps.date.outputs.date }}" - - outputs: - buildID: "${{ steps.extract_branch.outputs.branch }}-${{ steps.date.outputs.date }}" + id: generating_buildid + run: echo "##[set-output name=build-id;]$(echo "${{ steps.extract_branch.outputs.branch }}-${{ steps.date.outputs.date }}" - uses: actions/checkout@v3 @@ -71,9 +69,12 @@ jobs: - name: Upload build specific cache uses: actions/upload-artifact@v3 with: - name: ${{ needs.Job1_-_Building_P1.outputs.buildID }} + name: "${{ steps.generating_buildid.outputs.build-id }}" path: retrodeck-cooker.tar.gz + outputs: + buildID: "${{ steps.generating_buildid.outputs.build-id }}" + Job2_-_Build_P2_and_publish: runs-on: ubuntu-latest needs: [Job1_-_Building_P1]