Skip to content

Commit

Permalink
Add workflow_dispatch to Swift, Python and C# CI Check (krahets#882)
Browse files Browse the repository at this point in the history
* Update swift.yml

* Update dotnet.yml

* Update python.yml

---------

Co-authored-by: Yudong Jin <[email protected]>
  • Loading branch information
nuomi1 and krahets authored Oct 24, 2023
1 parent f80b25b commit dbc76ec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
pull_request:
branches: [ "main" ]
paths: ["codes/csharp/**/*.cs"]
workflow_dispatch:

jobs:
build:
Expand All @@ -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 change: 1 addition & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
pull_request:
branches: ["main"]
paths: ["codes/python/**/*.py"]
workflow_dispatch:

permissions:
contents: read
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
pull_request:
branches: ["main"]
paths: ["codes/swift/**/*.swift"]
workflow_dispatch:

jobs:
build:
Expand Down

0 comments on commit dbc76ec

Please sign in to comment.