Skip to content

Commit

Permalink
Update android.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
segfault-bilibili committed Oct 25, 2022
1 parent e4e643c commit de9fb92
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,22 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@v1
- name: Checkout
uses: actions/checkout@v3
- name: Extract Signature
run: echo ${{secrets.KEY_FILE}} | base64 -d > $HOME/.android.jks
- name: set up JDK 1.8
uses: actions/setup-java@v1
- name: set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 1.8
java-version: '11'
distribution: 'temurin'
cache: gradle
- name: Build with Gradle
run: ./gradlew assembleRelease
env:
KEY_PASS: ${{secrets.KEY_PASS}}
- name: Upload artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3.1.1
with:
name: ShadowsocksGostPlugin.apk
path: app/build/outputs/apk/release/app-release.apk
Expand Down

0 comments on commit de9fb92

Please sign in to comment.