mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-24 03:56:28 +08:00
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:
parent
f80b25bd17
commit
dbc76ec806
3 changed files with 4 additions and 1 deletions
3
.github/workflows/dotnet.yml
vendored
3
.github/workflows/dotnet.yml
vendored
|
@ -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
|
||||
|
|
1
.github/workflows/python.yml
vendored
1
.github/workflows/python.yml
vendored
|
@ -10,6 +10,7 @@ on:
|
|||
pull_request:
|
||||
branches: ["main"]
|
||||
paths: ["codes/python/**/*.py"]
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
1
.github/workflows/swift.yml
vendored
1
.github/workflows/swift.yml
vendored
|
@ -10,6 +10,7 @@ on:
|
|||
pull_request:
|
||||
branches: ["main"]
|
||||
paths: ["codes/swift/**/*.swift"]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
Loading…
Reference in a new issue