Skip to content

Commit a2fb433

Browse files
wisdommenclaude
andcommitted
ci: add SpigotMC BuildTools for NMS dependency
NMS module requires spigot:remapped-mojang artifact which is not available on public Maven repos. Run BuildTools to install locally. Also add continue-on-error for UltiCloud publish. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5f5df24 commit a2fb433

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ jobs:
3030
distribution: 'temurin'
3131
cache: maven
3232

33+
- name: Run SpigotMC BuildTools
34+
uses: SpraxDev/Action-SpigotBuildTools@v4
35+
with:
36+
versions: '1.21.1'
37+
remapped: true
38+
3339
- name: Install parent POM
3440
run: |
3541
git clone --depth 1 https://github.com/UltiKits/ultikits-module-parent.git /tmp/parent-pom
@@ -100,6 +106,7 @@ jobs:
100106
run: npm install -g @ultikits/cli
101107

102108
- name: Publish to UltiCloud
109+
continue-on-error: true
103110
if: steps.check.outputs.EXISTS == 'false'
104111
env:
105112
ULTIKITS_TOKEN: ${{ secrets.ULTIKITS_TOKEN }}

0 commit comments

Comments
 (0)