Skip to content

Commit

Permalink
Fix GitHub releases CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
MiSikora committed Oct 21, 2020
1 parent 4a4d9af commit d611130
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/publish-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,16 @@ jobs:
- name: Stop Gradle
run: ./gradlew --stop

github-release:
name: Github Release
runs-on: ubuntu-latest
needs: publish-release
steps:
- name: Checkout Repo
uses: actions/checkout@v2

- name: Extract Release Notes
id: release-notes
uses: ffurrer2/extract-release-notes@v1

- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
body: ${{ steps.release-notes.outputs.release-notes }}
body: ${{ steps.release-notes.outputs.release_notes }}
files: |
/*/build/**/*.aar
/*/build/**/*.jar
./library/*/build/outputs/aar/*.aar
./library/*/build/libs/!(*-sources|*-javadoc).jar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d611130

Please sign in to comment.