Skip to content

Commit

Permalink
test the build and release workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Eti Ijeoma <ijayeti@gmail.com>
  • Loading branch information
Aijeyomah committed Oct 11, 2024
1 parent 7b8ceb3 commit 51a5814
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-and-release-snapshot-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ on:
workflow_dispatch:
jobs:
release:
if: github.repository == 'meshery/helm-kanvas-snapshot' && startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, 'patch') && !contains(github.ref, 'alpha') && !contains(github.ref, 'beta') && !contains(github.ref, 'rc')
if: |
(github.event_name == 'release' && startsWith(github.ref, 'refs/tags/v') &&
!contains(github.ref, 'patch') && !contains(github.ref, 'alpha') &&
!contains(github.ref, 'beta') && !contains(github.ref, 'rc')) ||
(github.event_name == 'pull_request')
runs-on: macos-latest

steps:
Expand Down

0 comments on commit 51a5814

Please sign in to comment.