Skip to content

Commit

Permalink
Test tag regex
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyiwu9494 committed Nov 15, 2020
1 parent 14e78e6 commit 8e643af
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ on:
- master
- 'release-.*'
tags:
- 'v([1-9][0-9]*!)?(0|[1-9][0-9]*)(\.([0-9]*))*((a|b|rc)(0|[1-9][0-9]*))?(\.post(0|[1-9][0-9]*))?(\.dev(0|[1-9][0-9]*))?$'
- 'v[0-9]+.[0-9]+.[0-9]'
- 'v[0-9]+.[0-9]+.[0-9]rc[0-9]'
pull_request:
branches:
- master
Expand Down Expand Up @@ -383,7 +384,7 @@ jobs:
name: Deploy to PYPI
runs-on: ubuntu-latest
needs: [normal_test, large_test, mujoco_test, mujoco_test_long]
if: startsWith(github.ref, 'refs/tags/')
if: startsWith(github.ref, 'refs/tags/v')

steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 8e643af

Please sign in to comment.