Merge pull request #17728 from pstef/signed-slot #3591
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Android | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
repository_dispatch: | |
types: [run_build] | |
permissions: | |
contents: read | |
env: | |
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Compile RA | |
run: | | |
cd pkg/android/phoenix | |
./gradlew assembleDebug | |
find . -iname "*.apk" -exec ls -l "{}" \; | |
- name: Get short SHA | |
id: slug | |
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)" | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: retroarch-android-${{ steps.slug.outputs.sha8 }} | |
path: | | |
pkg/android/phoenix/build/outputs/apk/normal/debug/phoenix-normal-debug.apk | |
pkg/android/phoenix/build/outputs/apk/aarch64/debug/phoenix-aarch64-debug.apk |