Commit e9d51df 1 parent 95a0ef6 commit e9d51df Copy full SHA for e9d51df
File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ jobs:
197
197
runs-on : ubuntu-22.04
198
198
needs : [build-frameworks-ios, set-version]
199
199
timeout-minutes : 30
200
- environment : ${{ github.ref == 'refs/heads/main ' && 'cherry-pick-bot' || '' }}
200
+ environment : ${{ github.ref == 'refs/heads/release/0.5 ' && 'cherry-pick-bot' || '' }}
201
201
permissions :
202
202
id-token : write
203
203
contents : write
@@ -221,11 +221,11 @@ jobs:
221
221
# NB: The name here needs to match the upload-artifact name from build-frameworks-ios job
222
222
name : executorch-frameworks-ios
223
223
path : ${{ runner.temp }}/frameworks-ios/
224
- - name : Only push to S3 when running the workflow manually from main branch
225
- if : ${{ (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/main ' }}
224
+ - name : Only push to S3 when running the workflow manually from release branch
225
+ if : ${{ (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/release/0.5 ' }}
226
226
shell : bash
227
227
run : |
228
- echo "UPLOAD_ON_MAIN =1" >> "${GITHUB_ENV}"
228
+ echo "UPLOAD_ON_RELEASE =1" >> "${GITHUB_ENV}"
229
229
- name : Upload the artifact to ossci-ios S3 bucket
230
230
shell : bash
231
231
run : |
@@ -235,7 +235,7 @@ jobs:
235
235
pip install awscli==1.32.18
236
236
237
237
AWS_CMD="aws s3 cp --dryrun"
238
- if [[ "${UPLOAD_ON_MAIN :-0}" == "1" ]]; then
238
+ if [[ "${UPLOAD_ON_RELEASE :-0}" == "1" ]]; then
239
239
AWS_CMD="aws s3 cp"
240
240
fi
241
241
You can’t perform that action at this time.
0 commit comments