aboutsummaryrefslogtreecommitdiff
path: root/.github/composite/gradle
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-11-18 18:18:38 +0100
committerLinnea Gräf <nea@nea.moe>2024-11-18 18:18:38 +0100
commitd37d13dacad45af717e1f97488e739ef617fd89d (patch)
tree2f652487036d1d92872e25198176eb99eacd525c /.github/composite/gradle
parentb6ef3d00916a836eaca6882add39781283e1f9d7 (diff)
downloadFirmament-d37d13dacad45af717e1f97488e739ef617fd89d.tar.gz
Firmament-d37d13dacad45af717e1f97488e739ef617fd89d.tar.bz2
Firmament-d37d13dacad45af717e1f97488e739ef617fd89d.zip
ci: Split up test and build steps
Diffstat (limited to '.github/composite/gradle')
-rw-r--r--.github/composite/gradle/action.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/composite/gradle/action.yml b/.github/composite/gradle/action.yml
new file mode 100644
index 0000000..5f7a260
--- /dev/null
+++ b/.github/composite/gradle/action.yml
@@ -0,0 +1,27 @@
+# SPDX-FileCopyrightText: 2024 Linnea Gräf <nea@nea.moe>
+#
+# SPDX-License-Identifier: CC0-1.0
+
+name: "Run Gradle on a filter=tree:0 checkout"
+runs:
+ using: composite
+ steps:
+ - uses: actions/checkout@v4
+ name: Checkout repository
+ with:
+ fetch-tags: true
+ fetch-depth: 0
+ filter: 'tree:0'
+ - name: Set up JDK 21
+ uses: actions/setup-java@v4
+ with:
+ distribution: temurin
+ java-version: 21
+ - name: Set up gradle cache
+ uses: gradle/actions/setup-gradle@v3
+ with:
+ add-job-summary-as-pr-comment: 'on-failure'
+ - name: Prepare unpacked Jars
+ run: |
+ ./gradlew unpackAllJars
+ shell: sh