From 02d8ef868d0a42d01029fba7c4f4b8684058f792 Mon Sep 17 00:00:00 2001 From: unimatrixgit <95320811+unimatrixgit@users.noreply.github.com> Date: Sat, 28 Nov 2026 10:37:29 +0100 Subject: [PATCH] Record source revision and hashes for fullscreen provider artifact --- .forgejo/workflows/plugins.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/plugins.yml b/.forgejo/workflows/plugins.yml index e38566d9..a04a15cb 100644 --- a/.forgejo/workflows/plugins.yml +++ b/.forgejo/workflows/plugins.yml @@ -62,9 +62,15 @@ jobs: java-version: '25' - name: Build optional Paper 26.2 fullscreen provider shell: bash - run: gradle --no-daemon -p DuneFullscreenPaper test jar + run: | + set -euo pipefail + gradle --no-daemon -p DuneFullscreenPaper test jar + mkdir -p fullscreen-artifacts + cp DuneFullscreenPaper/build/libs/DuneFullscreenPaper.jar fullscreen-artifacts/ + printf '%s\n' "$(git rev-parse HEAD)" > fullscreen-artifacts/SOURCE_COMMIT + (cd fullscreen-artifacts && sha256sum -- DuneFullscreenPaper.jar SOURCE_COMMIT > SHA256SUMS) - uses: actions/upload-artifact@v3 with: name: DuneRealms-Fullscreen-Paper-Development - path: DuneFullscreenPaper/build/libs/DuneFullscreenPaper.jar + path: fullscreen-artifacts/ if-no-files-found: error