forked from unimatrix/web
Package DuneMenus with release source and checksums
This commit is contained in:
parent
98de680b08
commit
b44c5e3171
1 changed files with 10 additions and 5 deletions
|
|
@ -57,13 +57,18 @@ jobs:
|
|||
if-no-files-found: error
|
||||
|
||||
- name: Test and build the replacement DuneMenus plugin
|
||||
if: github.repository == 'dev/MC'
|
||||
run: gradle --no-daemon -p DuneMenus test jar
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
gradle --no-daemon -p DuneMenus test jar
|
||||
mkdir -p dunemenus-artifacts
|
||||
cp DuneMenus/build/libs/DuneMenus.jar dunemenus-artifacts/
|
||||
printf '%s\n' "$(git rev-parse HEAD)" > dunemenus-artifacts/SOURCE_COMMIT
|
||||
(cd dunemenus-artifacts && sha256sum -- DuneMenus.jar SOURCE_COMMIT > SHA256SUMS)
|
||||
- uses: actions/upload-artifact@v3
|
||||
if: github.repository == 'dev/MC'
|
||||
with:
|
||||
name: DuneMenus-Development
|
||||
path: DuneMenus/build/libs/DuneMenus.jar
|
||||
name: ${{ github.repository == 'dev/MC' && 'DuneMenus-Development' || 'DuneMenus' }}
|
||||
path: dunemenus-artifacts/
|
||||
if-no-files-found: error
|
||||
|
||||
- uses: actions/setup-java@v4
|
||||
|
|
|
|||
Loading…
Reference in a new issue

Staff