Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
update release action
Browse files Browse the repository at this point in the history
  • Loading branch information
segfault-bilibili committed Oct 25, 2022
1 parent 470ff40 commit 8f56162
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,27 @@ 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
- name: Release Build
uses: meeDamian/github-release@1.0
uses: meeDamian/github-release@2.0
with:
token: ${{secrets.GITHUB_TOKEN}}
draft: true
Expand Down

0 comments on commit 8f56162

Please sign in to comment.