Skip to content

Commit 8beece5

Browse files
authored
chore: update release triggers (#5035)
1 parent b7099a3 commit 8beece5

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/release_triggers.yaml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)