Skip to content

Commit

Permalink
ci: fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
monosoul committed May 3, 2024
1 parent e7ad83d commit 7755d3d
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/publish-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,29 +29,6 @@ jobs:
check_name: JUnit Test Report
report_paths: '**/build/test-results/**/TEST-*.xml'
annotate_notice: false
- name: Publish plugin
uses: gradle/actions/setup-gradle@v3
env:
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.OSSRH_GPG_SECRET_KEY_ID }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.OSSRH_USERNAME }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.OSSRH_PASSWORD }}
ORG_GRADLE_PROJECT_withSigning: true
with:
arguments: |
-Pversion=${{ github.event.release.tag_name }}
-Pgradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }}
-Pgradle.publish.secret=${{ secrets.GRADLE_PUBLISH_SECRET }}
--stacktrace
assemble publishPlugins publishToSonatype closeAndReleaseSonatypeStagingRepository
- name: Attach artifacts to the release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: 'build/libs/jooq-gradle-plugin-*[0-9].*[0-9].*[0-9]{-javadoc,-sources,}.jar'
file_glob: true
tag: ${{ github.ref }}

artifact_tests:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 7755d3d

Please sign in to comment.