Skip to content

Commit

Permalink
ci: fix release step on created release
Browse files Browse the repository at this point in the history
  • Loading branch information
rxri authored Jul 14, 2024
1 parent 372dded commit ecf4681
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
branches:
- main
- "*/main/**"
release:
types: [published]

jobs:
build:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit ecf4681

Please sign in to comment.