Skip to content

Commit

Permalink
change release condition for testing the release job
Browse files Browse the repository at this point in the history
  • Loading branch information
RednibCoding committed Jun 21, 2024
1 parent 2285840 commit e22e63b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Release
name: Build

on:
push:
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
release:
needs: build
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
if: github.event_name == 'push'

permissions:
contents: write
Expand Down

0 comments on commit e22e63b

Please sign in to comment.