File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,6 @@ defaults:
1111 run :
1212 shell : bash
1313
14- env :
15- PUBLISH : ${{ startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' }}
16-
1714jobs :
1815 init :
1916 runs-on : ubuntu-20.04
@@ -215,8 +212,8 @@ jobs:
215212 needs : [build-packages]
216213 uses : ./.github/workflows/legacy-checkpoints.yml
217214 with :
218- push_to_s3 : ${{ env.PUBLISH }}
219- create_pr : ${{ env.PUBLISH }}
215+ push_to_s3 : ${{ startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' }}
216+ create_pr : ${{ startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' }}
220217 secrets :
221218 AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
222219 AWS_SECRET_KEY_ID : ${{ secrets.AWS_SECRET_KEY_ID }}
You can’t perform that action at this time.
0 commit comments