diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c9d882c..31840fa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,14 +1,16 @@ name: Release on: - push: - tags: - - 'v*' + workflow_run: + workflows: ["Run tests"] + types: + - completed jobs: build: name: Build runs-on: ubuntu-latest + if: github.event.workflow_run.event == 'push' && startsWith(github.ref, 'refs/tags/v') steps: - name: Set up Go 1.x