Skip to content

Commit

Permalink
rename apk
Browse files Browse the repository at this point in the history
  • Loading branch information
matcool authored Jan 1, 2024
1 parent bf8d6be commit 16ac6cb
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,17 @@ jobs:
-Pandroid.injected.signing.key.alias="${{secrets.KEY_ALIAS}}" \
-Pandroid.injected.signing.key.password="${{secrets.KEY_PASSWORD}}"
- name: Rename apk
id: rename_apk
run: |
SHORT_SHA=${GITHUB_SHA::7}
APK_PATH=${{github.workspace}}/app/build/outputs/apk/debug/app-debug.apk
OUT_PATH=${{github.workspace}}/geode-launcher-debug-$SHORT_SHA.apk
mv $APK_PATH $OUT_PATH
echo "path=$OUT_PATH" >> $GITHUB_OUTPUT
- name: Upload development build
uses: actions/upload-artifact@v3
with:
name: geode-launcher-debug
path: ${{github.workspace}}/app/build/outputs/apk/debug/app-debug.apk
path: ${{ steps.rename_apk.outputs.path }}

0 comments on commit 16ac6cb

Please sign in to comment.