File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11name : Import release
22
33on :
4- workflow_dispatch :
4+ repository_dispatch :
55 inputs :
66 tag :
77 required : true
@@ -20,19 +20,19 @@ jobs:
2020 uses : actions/checkout@v3
2121 with :
2222 repository : ${{ env.MAIN_REPO_OWNER }}/${{ env.MAIN_REPO_REPO }}
23- ref : ${{ github.event.inputs .tag }}
23+ ref : ${{ github.event.client_payload .tag }}
2424 path : .ios-repo
25- - name : Import release ${{ github.event.inputs .tag }}
25+ - name : Import release ${{ github.event.client_payload .tag }}
2626 id : import-release
2727 uses : ./.github/actions/import-release
2828 with :
29- tag : ${{ github.event.inputs .tag }}
29+ tag : ${{ github.event.client_payload .tag }}
3030 - name : Create release
3131 uses : actions/github-script@v4
3232 with :
3333 result-encoding : string
3434 script : |
35- const tag = '${{ github.event.inputs .tag }}';
35+ const tag = '${{ github.event.client_payload .tag }}';
3636 const sha = '${{ steps.import-release.outputs.sha }}';
3737 const mainRepoOwner = '${{ env.MAIN_REPO_OWNER }}';
3838 const mainRepoRepo = '${{ env.MAIN_REPO_REPO }}';
You can’t perform that action at this time.
0 commit comments