Skip to content

Commit

Permalink
add build github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Fallen-Breath committed Oct 28, 2023
1 parent 60bf909 commit 9134b3b
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Java CI with Gradle

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'temurin'
cache: 'gradle'

- name: Build with Gradle
run: |-
chmod +x gradlew
./gradlew build
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: build-artifacts
path: build/libs/

0 comments on commit 9134b3b

Please sign in to comment.