Skip to content

Commit

Permalink
Run release only on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
wawrzek committed Jul 15, 2024
1 parent 7d9971c commit cab80eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: Release

on:
push:
branches: [ "main" ]
tags:
- "v*.*.*"

env:
CARGO_TERM_COLOR: always
Expand Down Expand Up @@ -39,7 +40,6 @@ jobs:
- name: Make release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
target/release/service
Expand Down

0 comments on commit cab80eb

Please sign in to comment.