Skip to content

Commit

Permalink
fix(ci): dont run gorleaser if no changes are detected in sem rel step
Browse files Browse the repository at this point in the history
  • Loading branch information
loodde committed Jul 5, 2023
1 parent 7ea6341 commit ec2319b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,23 @@ jobs:
steps:
- name: Setup Sage
uses: einride/sage/actions/setup@master

- name: Make
run: make

- name: Release
id: release
uses: go-semantic-release/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
allow-initial-development-versions: true

- name: Fetch tags
if: steps.release.outputs.version != ''
run: git fetch --force --tags

- name: Run goreleaser
if: steps.release.outputs.version != ''
uses: goreleaser/[email protected]
with:
version: latest
Expand Down

0 comments on commit ec2319b

Please sign in to comment.