Skip to content

Commit

Permalink
remove gradle publish from release
Browse files Browse the repository at this point in the history
  • Loading branch information
icemachined committed Jan 10, 2023
1 parent 42b7009 commit 81fcdbb
Showing 1 changed file with 1 addition and 36 deletions.
37 changes: 1 addition & 36 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,39 +158,4 @@ jobs:
tag: ${{ github.ref }}
overwrite: true
file_glob: true
gradle_release:
needs: archive_and_build
# release is created only for tags
if: ${{ startsWith(github.ref, 'refs/tags/') }}
name: Create maven release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
# release workflow should have access to all tags
fetch-depth: 0
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 11
distribution: temurin
- name: Status git before
run: git status
- name: Download artifact
uses: actions/download-artifact@v3
with:
path: build
- name: gradle release
# if workflow is triggered after push of a tag, deploy full release
if: ${{ startsWith(github.ref, 'refs/tags/') }}
uses: gradle/gradle-build-action@v2
with:
gradle-version: wrapper
cache-disabled: true
arguments: |
publishToSonatype
closeSonatypeStagingRepository
--build-cache
-PgprUser=${{ github.actor }}
-PgprKey=${{ secrets.GITHUB_TOKEN }}

0 comments on commit 81fcdbb

Please sign in to comment.