support pre-releses

This commit is contained in:
Stephan Dilly 2020-08-29 18:50:19 +02:00
parent ca49bbd627
commit a12692a045

View File

@ -8,6 +8,7 @@ on:
jobs: jobs:
release: release:
strategy: strategy:
fail-fast: false
matrix: matrix:
os: [ubuntu-latest, macos-latest, windows-latest] os: [ubuntu-latest, macos-latest, windows-latest]
@ -65,7 +66,7 @@ jobs:
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
with: with:
body: ${{ steps.release_notes.outputs.release_notes }} body: ${{ steps.release_notes.outputs.release_notes }}
prerelease: true prerelease: contains(github.ref, '-')
files: | files: |
./release/*.tar.gz ./release/*.tar.gz
./release/*.zip ./release/*.zip