diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1c217bf..c7562e8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: build +name: Build Snapshot on: [ push, pull_request ] jobs: @@ -21,7 +21,7 @@ jobs: key: ${{ runner.os }}-${{ github.job }}-${{ matrix.java }}-${{ hashFiles('**/*.gradle') }} restore-keys: ${{ runner.os }}-gradle - name: Run tests - run: ./gradlew assemble test + run: ./gradlew snapshot assemble test - name: Publish Snapshot if: > matrix.java == env.MIN_JVM diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1313d31..55732c0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,4 +28,4 @@ jobs: ORG_GRADLE_PROJECT_signingKeyId: 241134EA ORG_GRADLE_PROJECT_signingKey: ${{ secrets.OSSRH_GPG_SECRET_KEY }} ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} - run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository final -Prelease.useLastTag=true -Prelease \ No newline at end of file + run: ./gradlew -Prelease.useLastTag=true -Prelease final publishToSonatype closeAndReleaseSonatypeStagingRepository \ No newline at end of file