aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorappable <enzospiacitelli@gmail.com>2022-11-12 23:46:33 -0800
committerGitHub <noreply@github.com>2022-11-12 23:46:33 -0800
commitdd8f76e0c70b96f2994c31f2849c29c3e8ad366f (patch)
tree8bc34a76ad647929a6307bab3a49f06c800200b8 /.github/workflows
parent129cb8b04c7ae239ffd2546e8e48e19506b9f4d1 (diff)
downloadAmbientAddons-dd8f76e0c70b96f2994c31f2849c29c3e8ad366f.tar.gz
AmbientAddons-dd8f76e0c70b96f2994c31f2849c29c3e8ad366f.tar.bz2
AmbientAddons-dd8f76e0c70b96f2994c31f2849c29c3e8ad366f.zip
workflow maybe?
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/gradle.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml
new file mode 100644
index 0000000..40f102b
--- /dev/null
+++ b/.github/workflows/gradle.yml
@@ -0,0 +1,32 @@
+name: Build
+
+on:
+ push:
+ branches: [ "master" ]
+ pull_request:
+ branches: [ "master" ]
+
+permissions:
+ contents: read
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+ - name: Set up JDK
+ uses: actions/setup-java@v3
+ with:
+ java-version: '17'
+ distribution: 'temurin'
+ - name: Build with Gradle
+ uses: gradle/gradle-build-action@v2
+ with:
+ arguments: build
+ - name: Upload Artifact
+ uses: actions/upload-artifact@v3
+ with:
+ name: AmbientAddons
+ path: build/libs/*-all.jar