Skip to content

Commit

Permalink
chore: add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
yinheli committed Dec 7, 2023
1 parent 9283a0c commit 572cc66
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,32 @@ permissions:
contents: write

jobs:
github_build:
build:
name: Build release binaries
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true

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

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build with Gradle
run: bash gradlew clean pz
run: ./gradlew clean pz

# - name: Build with Gradle
# run: |
# java -version
# chmod +x gradlew
# ./gradlew clean pz

- name: Upload artifacts
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 572cc66

Please sign in to comment.