File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ # This is a basic workflow to help you get started with Actions
2+
3+ name : ' target supported version'
4+
5+ # Controls when the action will run.
6+ on :
7+ # Triggers the workflow on push or pull request events but only for the master branch
8+ schedule :
9+ - cron : ' 0 0 1 * *'
10+ workflow_dispatch :
11+ inputs :
12+ reason :
13+ description : ' The reason for running the workflow'
14+ required : true
15+ default : ' Manual run'
16+
17+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
18+ jobs :
19+ # This workflow contains a single job called "build"
20+ version-sweep :
21+ # The type of runner that the job will run on
22+ runs-on : ubuntu-latest
23+
24+ # Steps represent a sequence of tasks that will be executed as part of the job
25+ steps :
26+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
27+ - uses : actions/checkout@v2
28+
29+ # Runs a single command using the runners shell
30+ - name : ' Print manual run reason'
31+ if : ${{ github.event_name == 'workflow_dispatch' }}
32+ run : |
33+ echo 'Reason: ${{ github.event.inputs.reason }}'
34+
35+ # Start the .NET version sweeper, scan projects/slns for non-LTS (or currrent) versions
36+ - name : .NET version sweeper
37+ id : dotnet-version-sweeper
38+ 39+ env :
40+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41+ with :
42+ owner : ${{ github.repository_owner }}
43+ name : ${{ github.repository }}
44+ branch : ${{ github.ref }}
You can’t perform that action at this time.
0 commit comments