|
|
@ -53,7 +53,7 @@ jobs:
|
|
|
|
|
|
|
|
|
|
|
|
- name: Release
|
|
|
|
- name: Release
|
|
|
|
uses: softprops/action-gh-release@v1
|
|
|
|
uses: softprops/action-gh-release@v1
|
|
|
|
if: startsWith(github.ref, 'refs/tags/')
|
|
|
|
if: ${{ startsWith(github.ref, 'refs/tags/') && (os.matrix == 'windows-2019' || os.matrix == 'macos-10.15' || os.matrix == 'ubuntu-16.04') }}
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
prerelease: ${{ !startsWith(github.ref, 'refs/tags/v') || contains(github.ref, '-pre') }}
|
|
|
|
prerelease: ${{ !startsWith(github.ref, 'refs/tags/v') || contains(github.ref, '-pre') }}
|
|
|
|
files: ${{ github.event.repository.name }}-${{ steps.osname.outputs.lowercase }}.zip
|
|
|
|
files: ${{ github.event.repository.name }}-${{ steps.osname.outputs.lowercase }}.zip
|
|
|
|