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):92bec0ba48Pull 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:
committed by
Facebook GitHub Bot
parent
f2a0f315c8
commit
1b54a079f5
2
.github/workflows/publish-android.yml
vendored
2
.github/workflows/publish-android.yml
vendored
@@ -48,7 +48,7 @@ jobs:
|
|||||||
run: mv android/sample/build/outputs/apk/debug/sample-debug.apk SampleApp-android.apk
|
run: mv android/sample/build/outputs/apk/debug/sample-debug.apk SampleApp-android.apk
|
||||||
- name: Attach sample APK to release
|
- name: Attach sample APK to release
|
||||||
if: ${{ github.event.inputs.tag != '' }}
|
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:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
|||||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -178,7 +178,7 @@ jobs:
|
|||||||
path: 'Flipper-win.zip'
|
path: 'Flipper-win.zip'
|
||||||
- name: GitHub Upload Release Artifacts
|
- name: GitHub Upload Release Artifacts
|
||||||
if: ${{ needs.release.outputs.tag != '' }}
|
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:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user