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>
pull/883/head
nuomi1 1 year ago committed by GitHub
parent f80b25bd17
commit dbc76ec806
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

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

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

Loading…
Cancel
Save