Fix Android publishing

Summary:
Android publishing job fails to attach APKs to the release. An OSS user (rasaha91) came up with a fix. Since passy is on a leave, I've made my own fork to get unblocked.

See https://github.com/aigoncharov/github-upload-release-artifacts-action

Reviewed By: lblasa

Differential Revision: D40378208

fbshipit-source-id: 35e8f41700972751b63014e35696e61cfe986eae
This commit is contained in:
Andrey Goncharov
2022-10-14 03:56:14 -07:00
committed by Facebook GitHub Bot
parent 27fd60b659
commit af4ecc0a94

View File

@@ -46,7 +46,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.2.2 uses: aigoncharov/github-upload-release-artifacts-action@2.2.3
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with: