Skip to content

Commit f1b7fa7

Browse files
authored
Allow manual CI run
1 parent 37a1a5d commit f1b7fa7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
paths:
88
- '**'
99
- '!/docs/*' # Don't run workflow when files are only in the /docs directory
10+
workflow_dispatch:
1011

1112
jobs:
1213
main:
@@ -148,4 +149,4 @@ jobs:
148149
run: dotnet pack Build.csproj --no-build -c Release /p:PackageOutputPath=${env:GITHUB_WORKSPACE}\.nupkgs /p:CI=true
149150
- name: Upload to MyGet
150151
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
151-
run: dotnet nuget push ${env:GITHUB_WORKSPACE}\.nupkgs\*.nupkg -s https://www.myget.org/F/stackoverflow/api/v2/package -k ${{ secrets.MYGET_API_KEY }}
152+
run: dotnet nuget push ${env:GITHUB_WORKSPACE}\.nupkgs\*.nupkg -s https://www.myget.org/F/stackoverflow/api/v2/package -k ${{ secrets.MYGET_API_KEY }}

0 commit comments

Comments
 (0)