update workflow
All checks were successful
Publish to snapshot maven / build (push) Successful in 20s

This commit is contained in:
moehreag 2024-06-11 11:04:04 +02:00
parent eec8aaba57
commit cf4996e1ff

View file

@ -14,6 +14,7 @@ jobs:
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: |
@ -21,4 +22,4 @@ jobs:
cat ./settings.gradle.kts | sed "s/^.*:minecraft.*$//g" > settings.gradle.kts
./gradlew :publishMavenJavaPublicationToFrogMCSnapshotsMavenRepository \
-PFrogMCSnapshotsMavenUsername=${{ secrets.MAVEN_PUSH_USER }} \
-PFrogMCSnapshotsMavenPassword=${{ secrets.MAVEN_PUSH_TOKEN }}
-PFrogMCSnapshotsMavenPassword=${{ secrets.MAVEN_PUSH_TOKEN }} --stacktrace