Add workflow_dispatch to Swift, Python and C# CI Check (#882)

* Update swift.yml

* Update dotnet.yml

* Update python.yml

---------

Co-authored-by: Yudong Jin <krahets@163.com>
This commit is contained in:
nuomi1 2023-10-24 23:08:15 +08:00 committed by GitHub
parent f80b25bd17
commit dbc76ec806
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions

View file

@ -10,6 +10,7 @@ on:
pull_request:
branches: [ "main" ]
paths: ["codes/csharp/**/*.cs"]
workflow_dispatch:
jobs:
build:
@ -35,4 +36,4 @@ jobs:
- name: Build
run: dotnet build --no-restore hello-algo.csproj
- name: Test with dotnet
run: dotnet test hello-algo.csproj
run: dotnet test hello-algo.csproj

View file

@ -10,6 +10,7 @@ on:
pull_request:
branches: ["main"]
paths: ["codes/python/**/*.py"]
workflow_dispatch:
permissions:
contents: read

View file

@ -10,6 +10,7 @@ on:
pull_request:
branches: ["main"]
paths: ["codes/swift/**/*.swift"]
workflow_dispatch:
jobs:
build: