Skip to content

Commit

Permalink
added Github action support for "workflow_dispatch"
Browse files Browse the repository at this point in the history
Added this in order to ensure that this Github action could be run manually, if needed, per https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/
  • Loading branch information
Aaronontheweb authored Feb 3, 2021
1 parent ea9cc53 commit 70db64c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/nightly-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ on:
schedule:
# Once a day at 8 AM
- cron: 0 8 * * *
workflow_dispatch:
inputs:
reason:
description: 'Reason'
required: true
default: 'local testing'
jobs:
build-and-publish:
runs-on: windows-latest
Expand All @@ -18,4 +24,4 @@ jobs:
- name: Build Packages
run: build.cmd nugetprerelease=dev
- name: Push Packages
run: dotnet nuget push bin/nuget/*.nupkg
run: dotnet nuget push bin/nuget/*.nupkg

0 comments on commit 70db64c

Please sign in to comment.