Skip to content

Commit

Permalink
bump setup-java version in workflow
Browse files Browse the repository at this point in the history
and remove outdated apk info action (still works tho!)
  • Loading branch information
justinvforvendetta committed Jul 27, 2024
1 parent 939b9ef commit fb30b4f
Showing 1 changed file with 2 additions and 21 deletions.
23 changes: 2 additions & 21 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@v4

- name: set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
Expand All @@ -30,26 +30,7 @@ jobs:
- name: Get apk path
id: apk-path
run: echo "path=$(find . -regex '^.*/build/outputs/apk/.*\.apk$' -type f | head -1)" >> $GITHUB_OUTPUT
- name: Get apk info
id: apk-info
uses: hkusu/apk-info-action@v1
with:
apk-path: ${{ steps.apk-path.outputs.path }}
- name: Show everyone the apk info here
run: |
echo '${{ steps.apk-info.outputs.application-name }}'
echo '${{ steps.apk-info.outputs.application-id }}'
echo '${{ steps.apk-info.outputs.version-code }}'
echo '${{ steps.apk-info.outputs.version-name }}'
echo '${{ steps.apk-info.outputs.min-sdk-version }}'
echo '${{ steps.apk-info.outputs.target-sdk-version }}'
echo '${{ steps.apk-info.outputs.compile-sdk-version }}'
echo '${{ steps.apk-info.outputs.uses-permissions }}'
echo '${{ steps.apk-info.outputs.debuggable }}'
echo '${{ steps.apk-info.outputs.allow-backup }}'
echo '${{ steps.apk-info.outputs.supports-rtl }}'
echo '${{ steps.apk-info.outputs.file-size }}'
echo '${{ steps.apk-info.outputs.readable-file-size }}'

- name: Upload APK
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit fb30b4f

Please sign in to comment.