Remove github.ref constraint so it releases the server binary for all tags

This commit is contained in:
David Dworken 2023-02-24 18:53:20 -08:00
parent 3880f85ec3
commit 4c49e4fca1
No known key found for this signature in database

View File

@ -28,7 +28,7 @@ jobs:
GOARCH=${{ matrix.goarch }} GOOS=${{ matrix.goos }} go build -o hishtory-server-${{ matrix.goos }}-${{ matrix.goarch }} backend/server/server.go
- name: Release
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5
if: ${{ startsWith(github.ref, 'refs/tags/') && contains(github.ref, '-') }}
if: ${{ startsWith(github.ref, 'refs/tags/') }}
with:
files: |
hishtory-server-${{ matrix.goos }}-${{ matrix.goarch }}