Skip to content

Commit

Permalink
fix(ci): added missing job conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
philprime committed Feb 22, 2023
1 parent 2cebb2d commit 3860da9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
pre-release:
name: Create Pre-Release
runs-on: ubuntu-latest
if: ${{ github.ref_name == 'main' }}
steps:
- uses: actions/checkout@v2
- name: Create GitHub Release
Expand All @@ -23,6 +24,7 @@ jobs:
release:
name: Create Release
runs-on: ubuntu-latest
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
steps:
- uses: actions/checkout@v2
- name: Create GitHub Release
Expand Down

0 comments on commit 3860da9

Please sign in to comment.