File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 1414 token : ${{secrets.HOMEBREW_GITHUB_TOKEN}}
1515 # Formula name, required
1616 formula : gitversion
17- tag : 5.6.2
17+ tag : ${{ github.event.client_payload.ref }}
Original file line number Diff line number Diff line change 44 types : [published]
55
66jobs :
7- callBuildFlow :
7+ release :
88 name : Trigger Build flow
99 runs-on : ubuntu-latest
1010 steps :
1111 - uses : actions/checkout@v2
12- 13- name : " Trigger Build flow"
12+ - uses : peter-evans/repository-dispatch@v1
1413 with :
15- route : POST /repos/:repository/dispatches
14+ token : ${{ secrets.RELEASE_GITHUB_TOKEN }}
1615 repository : ${{ github.repository }}
17- mediaType : ' {"previews": ["everest"]}'
18- event_type : release
19- env :
20- GITHUB_TOKEN : ${{ secrets.RELEASE_GITHUB_TOKEN }}
16+ event-type : release
17+ client-payload : ' {"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
You can’t perform that action at this time.
0 commit comments