forked from unimatrix/web
Record source revision and hashes for fullscreen provider artifact
This commit is contained in:
parent
220dd1b1dc
commit
02d8ef868d
1 changed files with 8 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue

Staff