diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7e13527..beaca83 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,4 +15,4 @@ jobs: with: java-version: 21 build-command: ./gradlew build coverage - snapshot-command: ./gradlew publishToSonatype -Pversion=%NEXT_VERSION% + snapshot-command: ./gradlew publishToSonatype -Pversion=$NEXT_VERSION diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 8ab9075..f7ab153 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -3,12 +3,6 @@ name: "Labeler" on: [pull_request_target] jobs: - label-pr: - runs-on: ubuntu-latest - permissions: - contents: read - pull-requests: write - steps: - - uses: actions/labeler@v5 - with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" + labeler: + uses: coditory/workflows/.github/workflows/labeler.yml@v1 + secrets: inherit diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ddc283d..368a94d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -55,5 +55,5 @@ jobs: version: ${{ inputs.version }} snapshot: ${{ inputs.snapshot }} java-version: 21 - release-command: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -Pversion=%NEXT_VERSION% - snapshot-command: ./gradlew publishToSonatype -Pversion=%NEXT_VERSION% + release-command: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -Pversion=$NEXT_VERSION + snapshot-command: ./gradlew publishToSonatype -Pversion=$NEXT_VERSION