mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-23 22:45:38 +00:00
WORKFLOW: fixing build-id
This commit is contained in:
parent
ecf040d03b
commit
f9ce9cbfd2
11
.github/workflows/cooker.yml
vendored
11
.github/workflows/cooker.yml
vendored
|
@ -27,10 +27,8 @@ jobs:
|
||||||
id: extract_branch
|
id: extract_branch
|
||||||
|
|
||||||
- name: Generating build ID
|
- name: Generating build ID
|
||||||
run: echo "${{ 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 }}"
|
||||||
outputs:
|
|
||||||
buildID: "${{ steps.extract_branch.outputs.branch }}-${{ steps.date.outputs.date }}"
|
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
@ -71,9 +69,12 @@ jobs:
|
||||||
- name: Upload build specific cache
|
- name: Upload build specific cache
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{ needs.Job1_-_Building_P1.outputs.buildID }}
|
name: "${{ steps.generating_buildid.outputs.build-id }}"
|
||||||
path: retrodeck-cooker.tar.gz
|
path: retrodeck-cooker.tar.gz
|
||||||
|
|
||||||
|
outputs:
|
||||||
|
buildID: "${{ steps.generating_buildid.outputs.build-id }}"
|
||||||
|
|
||||||
Job2_-_Build_P2_and_publish:
|
Job2_-_Build_P2_and_publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [Job1_-_Building_P1]
|
needs: [Job1_-_Building_P1]
|
||||||
|
|
Loading…
Reference in a new issue