Skip to content

Commit

Permalink
🛸 ci: update release conditionals to include tagged refs
Browse files Browse the repository at this point in the history
  • Loading branch information
darvid committed Apr 11, 2022
1 parent 08cf91d commit 9e48488
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
prepare_release:
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/master'
if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') }}
steps:
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
release:
runs-on: ubuntu-latest
needs: prepare_release
if: github.ref == 'refs/heads/master'
if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') }}
steps:
- uses: actions/checkout@v2
with:
Expand Down

0 comments on commit 9e48488

Please sign in to comment.