From 7755d3d5e39f2a76c215f6da69b932574d90f5d2 Mon Sep 17 00:00:00 2001 From: monosoul Date: Fri, 3 May 2024 19:32:07 +0200 Subject: [PATCH] ci: fix release workflow --- .github/workflows/publish-on-release.yml | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/.github/workflows/publish-on-release.yml b/.github/workflows/publish-on-release.yml index 26d01ee..dce7ba1 100644 --- a/.github/workflows/publish-on-release.yml +++ b/.github/workflows/publish-on-release.yml @@ -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