Remove the baked halo behind graded tools
Some checks failed
Graded Tool Art Build / graded-tool-art (push) Failing after 9s
DuneRealms Plugin CI / plugins (push) Has been cancelled

This commit is contained in:
unimatrixgit 2026-12-03 23:23:38 +01:00
commit 9bbd2b658f

View file

@ -0,0 +1,38 @@
name: Graded Tool Art Build
on:
workflow_dispatch:
push:
branches: ['fix/graded-tool-halo-*']
jobs:
graded-tool-art:
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
- name: Assemble both deployed pack variants
shell: bash
run: |
set -euo pipefail
mkdir graded-tool-art
base=$(PYTHONPATH=tools python3 -c 'from plugin_graded_tool_art import BASE_SOURCE; print(BASE_SOURCE)')
for variant in arrakis fleet; do
curl --fail --location --retry 2 "https://www.dunerealms.com/downloads/DuneRealms-Wild-$base-$variant.zip" -o "$variant.zip"
python3 tools/plugin_graded_tool_art.py "$variant" "$variant.zip" network/resource-pack/central/overlay network/resource-pack/dune-items/publication-pins.json "graded-tool-art/DuneRealms-Wild-$GITHUB_SHA-$variant.zip" > "graded-tool-art/$variant.json"
done
printf '%s\n' "$GITHUB_SHA" > graded-tool-art/SOURCE_COMMIT
cp tools/{plugin_graded_tool_art,plugin_supplied_item_art,plugin_wild_update}.py graded-tool-art/
(cd graded-tool-art && sha256sum -- * > SHA256SUMS)
- name: Upload both checked packs
uses: actions/upload-artifact@v3
with:
name: DuneRealms-Graded-Tool-Art
path: graded-tool-art
if-no-files-found: error