Skip to content

Commit

Permalink
fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
Acocalypso committed Oct 5, 2023
1 parent cd7f110 commit 86d7ff1
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions .github/workflows/android-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,27 +66,32 @@ jobs:
- name: Upload Artifact
uses: actions/upload-artifact@v3.1.2
with:
name: reactmap-android
path: /home/runner/work/reactmap-android/reactmap-android/app/release/app-release.apk
name: apk
path: app/release/app-release.apk
release:
name: Release APK
needs: build
needs: apk
runs-on: ubuntu-latest
steps:
- name: Download APK from build
uses: actions/download-artifact@v1
uses: actions/download-artifact@v3.0.2
with:
name: reactmap-android
name: apk
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ github.event.inputs.version }}
name: Release v${{ github.event.inputs.version }}
draft: false
prerelease: false
files: /home/runner/work/reactmap-android/reactmap-android/app/release/app-release.apk


- name: Upload Release APK
id: upload_release_asset
uses: actions/upload-release-asset@v1.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: apk/app-release.apk
asset_name: reactmap.apk
asset_content_type: application/zip

0 comments on commit 86d7ff1

Please sign in to comment.