Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hank-cp committed Jan 25, 2023
1 parent f21ea73 commit 3013356
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,4 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 11
- run: ./gradlew clean :sbp-core:jar :sbp-spring-boot-starter:jar -Pversion=-SNAPSHOT --rerun-tasks
- run: ./gradlew publish -Pversion=-SNAPSHOT -P'signing.keyId=${{ secrets.signingKeyId }}' -P'signing.password=${{ secrets.signingPassword }}' -P'sonatypeUsername=${{ secrets.sonatypeUsername }}' -P'sonatypePassword=${{ secrets.sonatypePassword }}'
- run: ./gradlew publish -Pversion=-SNAPSHOT -P'signing.keyId=${{ secrets.signingKeyId }}' -P'signing.password=${{ secrets.signingPassword }}' -P'sonatypeUsername=${{ secrets.sonatypeUsername }}' -P'sonatypePassword=${{ secrets.sonatypePassword }}' --rerun-tasks
6 changes: 2 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 11
- run: ./gradlew clean :sbp-core:jar :sbp-spring-boot-starter:jar -Pversion=2.4.${GITHUB_REF##*/} -PspringBootVersion=2.4.13
- run: ./gradlew publish -Pversion=2.4.${GITHUB_REF##*/} -P'signing.keyId=${{ secrets.signingKeyId }}' -P'signing.password=${{ secrets.signingPassword }}' -P'sonatypeUsername=${{ secrets.sonatypeUsername }}' -P'sonatypePassword=${{ secrets.sonatypePassword }}'
- run: ./gradlew publish -Pversion=2.4.${GITHUB_REF##*/} -PspringBootVersion=2.4.13 -P'signing.keyId=${{ secrets.signingKeyId }}' -P'signing.password=${{ secrets.signingPassword }}' -P'sonatypeUsername=${{ secrets.sonatypeUsername }}' -P'sonatypePassword=${{ secrets.sonatypePassword }}'
release-2_7:
runs-on: ubuntu-latest
steps:
Expand All @@ -35,5 +34,4 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 11
- run: ./gradlew clean :sbp-core:jar :sbp-spring-boot-starter:jar -Pversion=2.7.${GITHUB_REF##*/} -PspringBootVersion=2.7.8
- run: ./gradlew publish -Pversion=2.4.${GITHUB_REF##*/} -P'signing.keyId=${{ secrets.signingKeyId }}' -P'signing.password=${{ secrets.signingPassword }}' -P'sonatypeUsername=${{ secrets.sonatypeUsername }}' -P'sonatypePassword=${{ secrets.sonatypePassword }}'
- run: ./gradlew publish -Pversion=2.7.${GITHUB_REF##*/} -PspringBootVersion=2.7.8 -P'signing.keyId=${{ secrets.signingKeyId }}' -P'signing.password=${{ secrets.signingPassword }}' -P'sonatypeUsername=${{ secrets.sonatypeUsername }}' -P'sonatypePassword=${{ secrets.sonatypePassword }}'

0 comments on commit 3013356

Please sign in to comment.