Refactor github actions tests (#688)
This commit is contained in:
18
.github/workflows/swift.yaml
vendored
18
.github/workflows/swift.yaml
vendored
@@ -4,10 +4,28 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- './build-swift-macos.sh'
|
||||
- '.github/workflows/swift.yaml'
|
||||
- 'CMakeLists.txt'
|
||||
- 'cmake/**'
|
||||
- 'swift-api-examples/**'
|
||||
- 'sherpa-onnx/csrc/*'
|
||||
- 'sherpa-onnx/c-api/**'
|
||||
- '.github/scripts/test-swift.sh'
|
||||
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- './build-swift-macos.sh'
|
||||
- '.github/workflows/swift.yaml'
|
||||
- 'CMakeLists.txt'
|
||||
- 'cmake/**'
|
||||
- 'swift-api-examples/**'
|
||||
- 'sherpa-onnx/csrc/*'
|
||||
- 'sherpa-onnx/c-api/**'
|
||||
- '.github/scripts/test-swift.sh'
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user