Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
uses: actions/checkout@v6

- name: Setup Java
uses: actions/setup-java@v3
uses: actions/setup-java@v5
with:
distribution: 'zulu'
java-version: '21'
Expand All @@ -34,10 +34,10 @@
cd apk-wrapper
npm init -y
npm install @capacitor/core @capacitor/cli @capacitor/android
npx cap init "API-Master" "com.itsrkmahapatra.apimaster" --web-dir www

Check warning on line 37 in .github/workflows/build-apk.yml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (apimaster)

Check warning on line 37 in .github/workflows/build-apk.yml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (itsrkmahapatra)
mkdir www
echo "<html><body>Loading...</body></html>" > www/index.html
echo '{ "appId": "com.itsrkmahapatra.apimaster", "appName": "API-Master", "webDir": "www", "server": { "url": "https://itsrkmahapatra.github.io/API-Master?v=1780753094", "cleartext": true } }' > capacitor.config.json

Check warning on line 40 in .github/workflows/build-apk.yml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (apimaster)

Check warning on line 40 in .github/workflows/build-apk.yml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (itsrkmahapatra)
npx cap add android

- name: Add App Icon
Expand All @@ -52,9 +52,9 @@
- name: Build Android APK
run: |
cd apk-wrapper/android
chmod +x gradlew

Check warning on line 55 in .github/workflows/build-apk.yml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (gradlew)
echo "configurations.all { exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib-jdk7'; exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib-jdk8' }" >> app/build.gradle

Check warning on line 56 in .github/workflows/build-apk.yml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (stdlib)

Check warning on line 56 in .github/workflows/build-apk.yml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (stdlib)
./gradlew assembleDebug

Check warning on line 57 in .github/workflows/build-apk.yml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (gradlew)

- name: Rename APK
run: |
Expand Down
Loading