Skip to content

Commit

Permalink
update ci script
Browse files Browse the repository at this point in the history
  • Loading branch information
wumo committed Sep 9, 2020
1 parent c59be95 commit 8334b94
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/export.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@ name: Export Conan Recipe

on:
release:
types: [created]
types: [ created ]
push:
branches:
- master

jobs:
export:
if: startsWith(github.event.head_commit.message, '[release]')
if: >-
startsWith(github.event.head_commit.message, '[release]') ||
startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 8334b94

Please sign in to comment.