Skip to content

Commit

Permalink
πŸ› Fix apk output path
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Mar 10, 2020
1 parent 38284e1 commit 8c7a74c
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,19 @@ jobs:
env:
ANDROID_RELEASE_KEY_STORE_PASSWORD: ${{ secrets.ANDROID_RELEASE_KEY_STORE_PASSWORD }}
ANDROID_RELEASE_KEY_KEY_PASSWORD: ${{ secrets.ANDROID_RELEASE_KEY_KEY_PASSWORD }}
- name: Upload the artifacts
uses: skx/github-action-publish-binaries@master
- name: Format release url
id: url-format
run: |
RELEASE_ID=${{ github.event.release.id }}
UPLOAD_URL="https://uploads.github.com/repos/${GITHUB_REPOSITORY}/releases/${RELEASE_ID}/assets{?name,label}"
echo "::set-output name=upload_url::$UPLOAD_URL"
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: './android/app/release/app-release.apk'
upload_url: ${{ steps.url-format.outputs.upload_url }}
asset_path: ./android/app/build/outputs/apk/release/app-release.apk
asset_name: release.apk
asset_content_type: application/zip

0 comments on commit 8c7a74c

Please sign in to comment.