File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -10,21 +10,17 @@ jobs:
1010 notify :
1111 runs-on : ubuntu-latest
1212 if : ${{ github.event.workflow_run.conclusion == 'success' }}
13+ outputs :
14+ version : ${{ steps.get-version.outputs.VERSION }} # Define job output
1315 steps :
1416 - name : Get the released tags version
1517 id : get-version
1618 run : |
1719 REF="${{ github.event.workflow_run.head_branch }}"
18- echo ::set-output name=VERSION::${REF/refs\/tags\//}
19- - name : Trigger Bee Factory image build
20- uses : peter-evans/repository-dispatch@v1
21- with :
22- token : ${{ secrets.GHA_PAT_BASIC }}
23- repository : ethersphere/bee-factory
24- event-type : build-images
25- client-payload : ' {"tag": "${{ steps.get-version.outputs.VERSION }}"}'
20+ VERSION=${REF/refs\/tags\//}
21+ echo "VERSION=$VERSION" >> "$GITHUB_OUTPUT" # Use GITHUB_OUTPUT
2622 - name : Trigger repo publishing
27- uses : peter-evans/repository-dispatch@v1
23+ uses : peter-evans/repository-dispatch@v3 # Use a more current version
2824 with :
2925 token : ${{ secrets.GHA_PAT_BASIC }}
3026 repository : ethersphere/repos
You can’t perform that action at this time.
0 commit comments