diff options
author | Linnea Gräf <nea@nea.moe> | 2024-02-22 21:23:38 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-02-22 21:23:38 +0100 |
commit | e8196b0b5e02ec21f75109ab7aba8d48220c8d05 (patch) | |
tree | d612293d68050e75385ed9c3cd46724025b8501c /.github/workflows/build.yml | |
download | Kowalski-e8196b0b5e02ec21f75109ab7aba8d48220c8d05.tar.gz Kowalski-e8196b0b5e02ec21f75109ab7aba8d48220c8d05.tar.bz2 Kowalski-e8196b0b5e02ec21f75109ab7aba8d48220c8d05.zip |
Template
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r-- | .github/workflows/build.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..e1e773f --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,29 @@ +name: Run Gradle Build +on: + - push + - pull_request + +jobs: + gradle: + runs-on: ubuntu-latest + steps: + - name: Checkout source + uses: actions/checkout@v4.1.1 + + - name: Setup Java + uses: actions/setup-java@v4.0.0 + with: + distribution: temurin + java-version: 17 + + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3 + + - name: Execute Gradle build + run: ./gradlew build + + - name: Upload built mod JAR + uses: actions/upload-artifact@v4.3.0 + with: + name: mod-jar + path: build/libs/*.jar |