From ecf46810d80170dde87b2593f3bb7685d997b67c Mon Sep 17 00:00:00 2001 From: em Date: Sun, 14 Jul 2024 23:21:21 +0200 Subject: [PATCH] ci: fix `release` step on created release --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e57328bcd3..c85f6ed06f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,6 +9,8 @@ on: branches: - main - "*/main/**" + release: + types: [published] jobs: build: @@ -43,7 +45,7 @@ jobs: os: ["linux", "darwin", "windows"] arch: ["amd64", "arm64", "386"] runs-on: ubuntu-latest - if: startsWith(github.ref, 'refs/tags/') + if: startsWith(github.ref, 'refs/tags/v2') needs: build steps: