Skip to content

Commit

Permalink
Update workflow for release
Browse files Browse the repository at this point in the history
  • Loading branch information
dwursteisen committed Mar 13, 2021
1 parent 782e6fe commit 7e84f64
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}}"

0 comments on commit 7e84f64

Please sign in to comment.