update cc-related CI (#387)

* merge get-cc-url into get-version

* add `get-cc`

* fix

* fix again

* fix

* fix

* fix macos

* remove `apt update`

* fix macos

* rename `get-version` -> `get-info`

* rm unnecessary file
This commit is contained in:
Imple Lee
2021-10-17 14:23:36 +08:00
committed by GitHub
parent f9902a6ea5
commit 25b5f53f34
9 changed files with 125 additions and 147 deletions

View File

@@ -3,8 +3,6 @@ description: 'build Android package'
inputs:
type:
required: true
cc-url:
required: true
code:
required: true
name:
@@ -34,9 +32,9 @@ runs:
with:
file-path: love-android/app/src/main/assets/game.love
- name: Download ColdClear arm64-v8a
uses: ./.github/actions/get-unzip
uses: ./.github/actions/get-cc
with:
url: ${{ inputs.cc-url }}/android_aarch64.zip
arch: android_aarch64
dir: ColdClear/arm64-v8a
- name: Process ColdClear arm64-v8a
shell: bash
@@ -46,9 +44,9 @@ runs:
mkdir -p libAndroid/arm64-v8a
mv ColdClear/arm64-v8a/libs/arm64-v8a/libCCloader.so libAndroid/arm64-v8a
- name: Download ColdClear armeabi-v7a
uses: ./.github/actions/get-unzip
uses: ./.github/actions/get-cc
with:
url: ${{ inputs.cc-url }}/android_armv7.zip
arch: android_armv7
dir: ColdClear/armeabi-v7a
- name: Process ColdClear armeabi-v7a
shell: bash