plugins/.forgejo/workflows/multiverse-core-lobby.yml

29 lines
1 KiB
YAML

name: Reviewed Lobby Multiverse Core
on:
workflow_dispatch:
push:
branches: ['fix/compact-menu-links-*']
jobs:
multiverse-core:
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: Verify the official Core input and package Lobby configuration
shell: bash
run: |
set -euo pipefail
python3 tools/test_multiverse_core.py -v
python3 tools/stage_multiverse_core.py multiverse-core-lobby "$GITHUB_SHA"
- uses: actions/upload-artifact@v3
with:
name: DuneRealms-Multiverse-Core-Lobby
path: multiverse-core-lobby
if-no-files-found: error