From aab578c7155fbe50bb351c5851738f8ffdd287f8 Mon Sep 17 00:00:00 2001 From: Jake Wharton Date: Mon, 17 Aug 2020 12:06:24 -0400 Subject: [PATCH] Release note extraction can only run on Linux --- .github/workflows/release.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f8a35f6..b350b83 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -31,6 +31,15 @@ jobs: ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ARTIFACT_SIGNING_PRIVATE_KEY }} run: ./gradlew build publish + github_release: + runs-on: ubuntu-latest + needs: + - publish + + steps: + - uses: actions/checkout@v2 + + # Can only run on Linux. - name: Extract release notes id: release_notes uses: ffurrer2/extract-release-notes@v1 @@ -39,6 +48,5 @@ jobs: uses: softprops/action-gh-release@v1 with: body: ${{ steps.release_notes.outputs.release_notes }} - files: build/libs/* env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}