Skip to content

Commit

Permalink
workflow stability (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitdas13 authored Apr 3, 2023
1 parent 9931fb2 commit 15b6105
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
name: Publish package to the Maven Central Repository
name: CI
on:
release:
types: [published]

push:
branches:
- master
tags:
- v[0-9]+.[0-9]+.[0-9]+*
pull_request:
branches:
- master
# Jobs
jobs:
codecov-coverage:
test:
name: Run tests and publish test coverage
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -32,6 +38,8 @@ jobs:
verbose: true

publish:
if: startsWith(github.ref, 'refs/tags/v')
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 15b6105

Please sign in to comment.