Skip to content

Commit

Permalink
Update build-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbianxiao authored Oct 1, 2024
1 parent 5b8fd6d commit 2c6b49c
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,20 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v2
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
distribution: temurin
java-version: 21
- name: Build artifacts

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
cache-read-only: true

- name: Execute Gradle build
run: ./gradlew build -Pbuild.release=true

- name: Upload assets to GitHub
uses: AButler/[email protected]
with:
Expand Down

0 comments on commit 2c6b49c

Please sign in to comment.