aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml16
1 files changed, 14 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index dfc10a0..a9eee2c 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -21,17 +21,29 @@ jobs:
- name: Execute Gradle build
run: ./gradlew build
-
+ - name: Show build directory
+ if: runner.debug == '1'
+ run: |
+ ls -lahR mod/build
- name: Upload built mod JAR
uses: actions/upload-artifact@v4.3.0
with:
name: mod-jar
- path: build/libs/*.jar
+ path: mod/build/libs/*.jar
+ - name: Upload partial JARs
+ if: runner.debug == '1'
+ uses: actions/upload-artifact@v4.3.0
+ with:
+ name: extras
+ path: mod/build/badjars/*.jar
release:
runs-on: ubuntu-latest
needs: gradle
permissions: write-all
if: ${{ 'push' == github.event_name && 'master' == github.ref_name && '758196864' == github.repository_id }}
+ concurrency:
+ cancel-in-progress: true
+ group: nightly-release
steps:
- name: Set repository context
uses: actions/checkout@v4