Preserve fuel bucket and sapling origin metadata
This commit is contained in:
parent
1a9d281d18
commit
5ff7eca20b
1 changed files with 237 additions and 0 deletions
41
.forgejo/workflows/item-origin-remainders.yml
Normal file
41
.forgejo/workflows/item-origin-remainders.yml
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
name: Item Origin Remainders Build
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: ['feat/item-origin-remainders-*']
|
||||
|
||||
jobs:
|
||||
item-origin:
|
||||
runs-on: dune-ci
|
||||
steps:
|
||||
- name: Check out exact revision
|
||||
shell: bash
|
||||
env:
|
||||
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
git init .
|
||||
git -c http.extraheader="AUTHORIZATION: basic $(printf 'x-access-token:%s' "$REPO_TOKEN" | base64 -w0)" fetch --depth=1 https://www.dunerealms.com/git/unimatrix/plugins.git "$GITHUB_SHA"
|
||||
git checkout --detach FETCH_HEAD
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: '21'
|
||||
- uses: gradle/actions/setup-gradle@v4
|
||||
with:
|
||||
gradle-version: '9.2.1'
|
||||
- name: Build tested provenance classes
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
gradle --no-daemon -p JarvisConnector test jar
|
||||
mkdir item-origin-artifacts
|
||||
python3 tools/plugin_item_origin.py extract JarvisConnector/build/libs/jarvistranslator.jar item-origin-artifacts/item-origin.overlay.zip
|
||||
cp tools/{plugin_item_origin,plugin_wild_update}.py item-origin-artifacts/
|
||||
printf '%s\n' "$(git rev-parse HEAD)" > item-origin-artifacts/SOURCE_COMMIT
|
||||
(cd item-origin-artifacts && sha256sum -- *.zip *.py SOURCE_COMMIT > SHA256SUMS)
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: DuneRealms-Item-Origin
|
||||
path: item-origin-artifacts/
|
||||
if-no-files-found: error
|
||||
Loading…
Reference in a new issue

Staff