Skip to content

Commit

Permalink
Update blank.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Cfwnodeyes committed May 27, 2024
1 parent 5aae95c commit 03c67ec
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build and Release APK
on:
push:
branches:
- main # 你可以更改分支名称
- main

jobs:
build:
Expand All @@ -13,12 +13,21 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Ensure Gradle Wrapper has execute permission
run: chmod +x gradlew

- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'

- name: Set up Android SDK
uses: reactivecircus/android-setup-action@v2
with:
components: 'build-tools-30.0.3'
licenses: 'android-sdk-license-.+'

- name: Build with Gradle
run: ./gradlew assembleRelease

Expand Down

0 comments on commit 03c67ec

Please sign in to comment.