diff --git a/.forgejo/workflows/plugins.yml b/.forgejo/workflows/plugins.yml index eb09c5d3..7b78a8e1 100644 --- a/.forgejo/workflows/plugins.yml +++ b/.forgejo/workflows/plugins.yml @@ -8,6 +8,7 @@ on: - 'Dune*/**' - 'JarvisConnector/**' - 'gui-common/**' + - 'network/proxy/central-pack/**' jobs: plugins: @@ -20,7 +21,7 @@ jobs: 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/MC.git "$GITHUB_SHA" + git -c http.extraheader="AUTHORIZATION: basic $(printf 'x-access-token:%s' "$REPO_TOKEN" | base64 -w0)" fetch --depth=1 "https://www.dunerealms.com/git/${GITHUB_REPOSITORY}.git" "$GITHUB_SHA" git checkout --detach FETCH_HEAD - uses: actions/setup-java@v4 with: @@ -34,6 +35,9 @@ jobs: run: | set -euo pipefail modules=(DuneEss DuneLobby DuneNPC DuneRealms-minecraft-only DuneRealmsGUI DuneTerrain JarvisConnector) + if [[ -f network/proxy/central-pack/build.gradle.kts ]]; then + modules+=(network/proxy/central-pack) + fi mkdir -p plugin-artifacts for module in "${modules[@]}"; do gradle --no-daemon -p "$module" test jar