File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ defaults:
1818 shell : bash -l {0}
1919
2020env :
21- PR_NUMBER : ${{ github.event_name == 'workflow_dispatch' && github.event.number || inputs.pr_number }}
21+ PR_NUMBER : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.pr_number || github.event.number }}
2222
2323jobs :
2424 preprocess :
3434 - name : Copy cache from main to PR branch
3535 id : copyCache
3636 run : |
37- echo ${{ env.PR_NUMBER }}
38- echo $PR_NUMBER
37+ echo github.event.inputs.pr_number=${{ github.event.inputs.pr_number }}
38+ echo env.PR_NUMBER=${{ env.PR_NUMBER }}
39+ echo PR_NUMBER=$PR_NUMBER
3940 git config user.name github-actions
4041 git config user.email [email protected] 4142 git push origin HEAD:_cookbook_data_PR${PR_NUMBER}
You can’t perform that action at this time.
0 commit comments