Upgrade upload actions (#3070)

Summary:
We're seeing some spurious failures, unrelated to any changes on our end.

I've upgraded the action to do two things:

- Retry on failure (up to three times): b0dfcdf1c7
- Replace the artefact if it's already present (otherwise this might fail subsequent retries): 92bec0ba48

Pull Request resolved: https://github.com/facebook/flipper/pull/3070

Reviewed By: nikoant

Differential Revision: D32532277

Pulled By: passy

fbshipit-source-id: f1899c89c405772490958674fa7f46f479c666f9
This commit is contained in:
Pascal Hartig
2021-11-18 08:49:19 -08:00
committed by Facebook GitHub Bot
parent f2a0f315c8
commit 1b54a079f5
2 changed files with 2 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ jobs:
run: mv android/sample/build/outputs/apk/debug/sample-debug.apk SampleApp-android.apk
- name: Attach sample APK to release
if: ${{ github.event.inputs.tag != '' }}
uses: passy/github-upload-release-artifacts-action@v2.1.2
uses: passy/github-upload-release-artifacts-action@v2.2.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:

View File

@@ -178,7 +178,7 @@ jobs:
path: 'Flipper-win.zip'
- name: GitHub Upload Release Artifacts
if: ${{ needs.release.outputs.tag != '' }}
uses: passy/github-upload-release-artifacts-action@v2.1.2
uses: passy/github-upload-release-artifacts-action@v2.2.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: