Skip to content

Commit

Permalink
Refactor github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mcpride committed May 3, 2023
1 parent fedb5e9 commit c20ea96
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:
branches: [ "main" ]

jobs:

test:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -50,8 +51,9 @@ jobs:
path: code-coverage-results.md
- name: Write to Job Summary
run: cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY

release:
if: startsWith(github.event.ref, 'refs/tags/')
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')
needs: test
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit c20ea96

Please sign in to comment.