froglib/.forgejo/workflows/publish.yml
moehreag b0b2555ebf improve build
- publish all modules
- add test mods to general runtime classpath

- fix issues with keybindings being registered before the game is initialized
2024-06-13 19:30:16 +02:00

25 lines
723 B
YAML

name: Publish to snapshot maven
on:
push:
branches:
- 'mistress'
jobs:
build:
runs-on: docker
steps:
- uses: actions/checkout@v4
- uses: https://github.com/actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
cache-write-only: "!startsWith(github.event.head_commit.message, '[no-cache]')"
- uses: https://github.com/gradle/actions/setup-gradle@v3
- name: Build
run: |
chmod +x ./gradlew
./gradlew publishMavenJavaPublicationToFrogMCSnapshotsMavenRepository \
-PFrogMCSnapshotsMavenUsername=${{ secrets.MAVEN_PUSH_USER }} \
-PFrogMCSnapshotsMavenPassword=${{ secrets.MAVEN_PUSH_TOKEN }} --stacktrace