2024-05-13 10:32:57 -04:00
|
|
|
name: Publish to snapshot maven
|
|
|
|
|
|
|
|
on: push
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: docker
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: https://github.com/actions/setup-java@v4
|
|
|
|
with:
|
|
|
|
distribution: 'temurin'
|
|
|
|
java-version: 21
|
|
|
|
- uses: https://github.com/gradle/actions/setup-gradle@v3
|
|
|
|
- name: Build
|
|
|
|
run: |
|
|
|
|
chmod +x ./gradlew
|
2024-05-18 07:29:35 -04:00
|
|
|
./gradlew publishAllPublicationsToEsnesnonSnapshotsMavenRepository \
|
2024-05-13 10:32:57 -04:00
|
|
|
-PEsnesnonSnapshotsMavenUsername=${{ secrets.MAVEN_PUSH_USER }} \
|
|
|
|
-PEsnesnonSnapshotsMavenPassword=${{ secrets.MAVEN_PUSH_TOKEN }}
|