Skip to content

Commit d7a7ec6

Browse files
Guang Yangfacebook-github-bot
authored andcommitted
Updated the workflow to upload models to S3 (#5232)
Summary: The upload should not be all or nothing ([example flow](https://github.com/pytorch/executorch/actions/runs/10783442883)). It should upload exported models to S3 if there is at least one artifact. Pull Request resolved: #5232 Test Plan: - Android: https://github.com/pytorch/executorch/actions/runs/10800212616 - iOS: https://github.com/pytorch/executorch/actions/runs/10799346884 Reviewed By: huydhn Differential Revision: D62459630 Pulled By: guangy10 fbshipit-source-id: cbf6c1c9e030089096d126b91ec10a936030e15b
1 parent 41bc1ce commit d7a7ec6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/android-perf.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ jobs:
178178
upload-models:
179179
needs: export-models
180180
runs-on: linux.2xlarge
181+
if: always() # Continue this job regardless of previous job outcome
181182
steps:
182183
- name: Download the models from GitHub
183184
uses: actions/download-artifact@v3

.github/workflows/apple-perf.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ jobs:
179179
upload-models:
180180
needs: export-models
181181
runs-on: linux.2xlarge
182+
if: always() # Continue this job regardless of previous job outcome
182183
steps:
183184
- name: Download the models from GitHub
184185
uses: actions/download-artifact@v3

0 commit comments

Comments
 (0)