Skip to content

Commit

Permalink
Test tag conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyiwu9494 committed Nov 15, 2020
1 parent 92e1673 commit 14e78e6
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -13,11 +13,14 @@ on:
schedule:
- cron: '0 9 * * *'
push:
branches: [master]
branches:
- 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]*))?$'
pull_request:
branches: [master]
branches:
- master

jobs:
build_docker_container:
@@ -380,7 +383,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/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]*))?$')
if: startsWith(github.ref, 'refs/tags/')

steps:
- uses: actions/checkout@v2

0 comments on commit 14e78e6

Please sign in to comment.