Implement Bag Tab API so that other mods can make themselves first-class compatible with this mod, no guesswork required (but also the API isn't required to at least get some support for most bag-style items)

Implement Curios support
This commit is contained in:
trunksbomb
2026-03-23 12:50:49 -04:00
parent 5c5c35871d
commit e395e87c53
26 changed files with 777 additions and 59 deletions

View File

@@ -7,7 +7,9 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
# In Gitea, this must match a label advertised by one of your online runners.
# Set it in repository variables, for example: GITEA_RUNNER_LABEL=windows or linux_amd64.
runs-on: ${{ vars.GITEA_RUNNER_LABEL }}
env:
GITEA_SERVER_URL: ${{ gitea.server_url }}
BAGTABS_GITEA_TOKEN: ${{ secrets.BAGTABS_GITEA_TOKEN }}
@@ -33,11 +35,23 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Make Gradle wrapper executable
run: chmod +x ./gradlew
- name: Build release jar
run: ./gradlew --no-daemon clean build
shell: pwsh
run: |
if (Test-Path ./gradlew.bat) {
./gradlew.bat --no-daemon clean build
} else {
chmod +x ./gradlew
./gradlew --no-daemon clean build
}
- name: Publish release artifacts
run: python3 ./scripts/publish_release.py
shell: pwsh
run: |
if (Get-Command python -ErrorAction SilentlyContinue) {
python ./scripts/publish_release.py
} elseif (Get-Command python3 -ErrorAction SilentlyContinue) {
python3 ./scripts/publish_release.py
} else {
throw "Python is not available on PATH."
}