File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ jobs:
101101 - name : " Determine: Keep artifact & DryRun"
102102 run : |
103103 python -c "print('KEEP_DAYS=' + str(30 if '${{ github.event_name }}'.startswith('pull_request') else 0))" >> $GITHUB_ENV
104- python -c "print('AWS_RUN=' + str('' if '${{inputs.push_to_s3}}' == 'true' else '--region us-east-1 -- dryrun'))" >> $GITHUB_ENV
104+ python -c "print('AWS_RUN=' + str('' if '${{inputs.push_to_s3}}' == 'true' else '--dryrun'))" >> $GITHUB_ENV
105105
106106 - name : Upload checkpoints to GitHub Actions artifact
107107 uses : actions/upload-artifact@v4
@@ -113,6 +113,7 @@ jobs:
113113
114114 - run : pip install -r requirements/ci.txt
115115 - name : Upload checkpoints to S3
116+ if : secrets.AWS_REGION != ''
116117 working-directory : ${{ env.LEGACY_FOLDER }}
117118 env :
118119 AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY }}
You can’t perform that action at this time.
0 commit comments