✅ 更新demo 兼容34 #74
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: Build Demo APK | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Make gradlew executable | |
run: chmod +x ./gradlew | |
- name: build with gradlew | |
run: ./gradlew :app:assembleRelease | |
- name: Setup Ruby, JRuby and TruffleRuby | |
uses: ruby/setup-ruby@v1.64.1 | |
with: | |
ruby-version: 3.0.0 # Not needed with a .ruby-version file | |
bundler-cache: true | |
- name: install fir.im | |
run: gem install fir-cli | |
- name: Upload to Fir.im | |
run: | | |
fir login ${{ secrets.FIMTOKEN }} | |
- run: fir publish app/build/outputs/apk/release/app-release.apk | |