feat: Make strings translatable,Chinese localisation update #1
Workflow file for this run
This file contains 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: autoci | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up OpenJDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: "zulu" | |
java-version: "17" | |
- name: Setup Android SDK | |
uses: android-actions/setup-android@v2 | |
- name: Install required platform | |
run: sdkmanager "platforms;android-33" "build-tools;33.0.2" | |
- name: Replace android.jar | |
run: | | |
curl -L https://github.com/Reginer/aosp-android-jar/raw/main/android-33/android.jar > /usr/local/lib/android/sdk/platforms/android-33/android.jar | |
- run: | | |
ls $ANDROID_SDK_ROOT | |
ls $ANDROID_SDK_ROOT/build-tools | |
ls $ANDROID_SDK_ROOT/build-tools/33.0.2 | |
- name: Build release APK | |
run: ./gradlew assembleRelease | |
- name: Get short SHA | |
run: echo "SHA7=$(echo ${GITHUB_SHA} | cut -c1-7)" >> $GITHUB_ENV | |
- name: Upload Packages | |
uses: actions/upload-artifact@master | |
if: success() | |
with: | |
name: PixelIMS-debug-${{ env.SHA7 }} | |
path: app/build/outputs/apk/release |