From 7e84f6435d4f0c76e3bab948429d1dee0ff0b1a0 Mon Sep 17 00:00:00 2001 From: David Wursteisen Date: Sat, 13 Mar 2021 14:09:03 +0100 Subject: [PATCH] Update workflow for release --- .github/workflows/publish-release.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index e03c516..2ac3e27 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -6,11 +6,7 @@ on: jobs: publish-release: - strategy: - matrix: - os: [macOS-latest, windows-latest, ubuntu-latest] - - runs-on: ${{matrix.os}} + runs-on: ubuntu-latest steps: - name: Checkout latest code @@ -25,7 +21,4 @@ jobs: ${{ runner.os }}-gradle- - name: Publish artifact - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - run: ./gradlew -Pversion="${{github.event.release.tag_name}}" -PcurrentOs=${{ runner.os }} -Pbintray_user=${{secrets.BINTRAY_USER}} -Pbintray_key=${{secrets.BINTRAY_KEY}} bintrayUpload + run: ./gradlew publishAllPublicationsToSonatypeStagingRepository -Pversion="${{github.event.release.tag_name}}" -Psigning.base64.secretKey="${{secrets.SIGNING_BASE_64_SECRET_KEY}}" -Psigning.password="${{secrets.SIGNING_PASSWORD}}" -Psonatype.username="${{secrets.SONATYPE_USERNAME}}" -Psonatype.password="${{secrets.SONATYPE_PASSWORD}}"