aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml23
1 files changed, 15 insertions, 8 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d794684..e1e773f 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -1,22 +1,29 @@
name: Run Gradle Build
-on: [push, pull_request]
+on:
+ - push
+ - pull_request
+
jobs:
gradle:
runs-on: ubuntu-latest
steps:
- name: Checkout source
- uses: actions/checkout@v3
- - uses: actions/setup-java@v3
- name: Setup Java
+ 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/gradle-build-action@v2
+ uses: gradle/actions/setup-gradle@v3
+
- name: Execute Gradle build
run: ./gradlew build
- - uses: actions/upload-artifact@v3
- name: Upload built mod JAR
+
+ - name: Upload built mod JAR
+ uses: actions/upload-artifact@v4.3.0
with:
name: mod-jar
- path: build/libs/*.jar \ No newline at end of file
+ path: build/libs/*.jar