plugins/.forgejo/workflows/giedi-nether-pearl.yml
unimatrixgit 061cc14490
Some checks failed
Giedi Nether Ender Pearl Operations Build / giedi-nether-pearl (push) Successful in 5s
DuneRealms Plugin CI / plugins (push) Has been cancelled
Allow Ender Pearls in Giedi Nether wilderness
2026-12-02 11:58:33 +01:00

33 lines
1.2 KiB
YAML

name: Giedi Nether Ender Pearl Operations Build
on:
workflow_dispatch:
push:
branches: ['ops/giedi-nether-ender-pearl-*']
jobs:
giedi-nether-pearl:
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: Validate and package the scoped native command
shell: bash
run: |
set -euo pipefail
python3 tools/test_giedi_nether_pearl.py -v
mkdir giedi-pearl-artifacts
cp tools/allow-giedi-nether-pearl.py giedi-pearl-artifacts/
printf '%s\n' "$(git rev-parse HEAD)" > giedi-pearl-artifacts/SOURCE_COMMIT
(cd giedi-pearl-artifacts && sha256sum -- *.py SOURCE_COMMIT > SHA256SUMS)
- uses: actions/upload-artifact@v3
with:
name: DuneRealms-Giedi-Nether-Ender-Pearl
path: giedi-pearl-artifacts/
if-no-files-found: error