aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorRoman / Linnea Gräf <roman.graef@gmail.com>2023-07-21 12:15:37 +0200
committerGitHub <noreply@github.com>2023-07-21 12:15:37 +0200
commit2c7e371cb8d566875d767dd20c4a1287d5275b2c (patch)
tree593b568f15ac5de7cbced5519f8850a37ea7aba7 /.github/workflows/build.yml
downloadSkyblockPlayersAnonymous-2c7e371cb8d566875d767dd20c4a1287d5275b2c.tar.gz
SkyblockPlayersAnonymous-2c7e371cb8d566875d767dd20c4a1287d5275b2c.tar.bz2
SkyblockPlayersAnonymous-2c7e371cb8d566875d767dd20c4a1287d5275b2c.zip
Initial commit
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..d794684
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,22 @@
+name: Run Gradle Build
+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
+ with:
+ distribution: temurin
+ java-version: 17
+ - name: Setup Gradle
+ uses: gradle/gradle-build-action@v2
+ - name: Execute Gradle build
+ run: ./gradlew build
+ - uses: actions/upload-artifact@v3
+ name: Upload built mod JAR
+ with:
+ name: mod-jar
+ path: build/libs/*.jar \ No newline at end of file