Skip to content

Commit

Permalink
chore: 更新工作流的触发条件
Browse files Browse the repository at this point in the history
  • Loading branch information
Blinue committed Oct 10, 2023
1 parent b54d095 commit 8a6123d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: build

on:
push:
paths: [ 'Magpie.sln', 'src/**', 'ci/**', '.github/workflows/build.yml' ]
paths: [ '.github/workflows/build.yml', 'Magpie.sln', '*.props', 'publish.py', 'src/**' ]
pull_request:
paths: [ 'Magpie.sln', 'src/**', 'ci/**', '.github/workflows/build.yml' ]
paths: [ '.github/workflows/build.yml', 'Magpie.sln', '*.props', 'publish.py', 'src/**' ]

# env:
# Configuration type to build.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ main ]
paths: [ 'docs/**' ]
paths: [ '.github/workflows/wiki.yml', 'docs/**', 'ci/wiki.sh' ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down

0 comments on commit 8a6123d

Please sign in to comment.