Skip to content

Commit

Permalink
Merge pull request #22 from inikoo/arya
Browse files Browse the repository at this point in the history
'set-yml'
  • Loading branch information
YudhistiraA authored Apr 30, 2024
2 parents 6871220 + fcb4e60 commit ae28c3a
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Build Android app
name: "Build Android app"

on:
push:
branches: [main]

permissions:
contents: write
pull-requests: write
contents: write
pull-requests: write

jobs:
build:
Expand All @@ -32,16 +32,14 @@ jobs:

- name: Run npm Install
run: |
npm i -g corepack
npm install
npm i -g corepack
npm install
- name: Build application
run: |
cd android
chmod +x gradlew
./gradlew assembleRelease
- name: Upload APK artifact
cd android
chmod +x gradlew
./gradlew assembleRelease
- name: Upload application
uses: actions/upload-artifact@v2
with:
name: app
Expand All @@ -51,7 +49,7 @@ jobs:

release:
needs: build
runs-on: ubuntu-latest
runs-on: macos-latest
steps:
- name: Download APK artifact
uses: actions/download-artifact@v2
Expand All @@ -78,4 +76,4 @@ jobs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ github.workspace }}/android/app/build/outputs/apk/release/app-release.apk
asset_name: app-release-v0.0.1.apk
asset_content_type: application/vnd.android.package-archive
asset_content_type: application/vnd.android.package-archive

0 comments on commit ae28c3a

Please sign in to comment.