Skip to content

Commit

Permalink
Update command parameters in github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ogesaku committed Oct 25, 2024
1 parent e4c10ef commit 7d1cf29
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
12 changes: 3 additions & 9 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7d1cf29

Please sign in to comment.