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

This commit is contained in:
moehreag 2024-06-11 11:03:52 +02:00
parent 5f74d32c1a
commit e731f57a43

View file

@ -14,10 +14,11 @@ jobs:
with: with:
distribution: 'temurin' distribution: 'temurin'
java-version: 21 java-version: 21
cache-write-only: "!startsWith(github.event.head_commit.message, '[no-cache]')"
- uses: https://github.com/gradle/actions/setup-gradle@v3 - uses: https://github.com/gradle/actions/setup-gradle@v3
- name: Build - name: Build
run: | run: |
chmod +x ./gradlew chmod +x ./gradlew
./gradlew publishAllPublicationsToFrogMCSnapshotsMavenRepository \ ./gradlew publishAllPublicationsToFrogMCSnapshotsMavenRepository \
-PFrogMCSnapshotsMavenUsername=${{ secrets.MAVEN_PUSH_USER }} \ -PFrogMCSnapshotsMavenUsername=${{ secrets.MAVEN_PUSH_USER }} \
-PFrogMCSnapshotsMavenPassword=${{ secrets.MAVEN_PUSH_TOKEN }} -PFrogMCSnapshotsMavenPassword=${{ secrets.MAVEN_PUSH_TOKEN }} --stacktrace