File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-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
+ # Start the .NET version sweeper, scan projects/slns for non-LTS (or currrent) versions
35
+ - name : .NET version sweeper
36
+ id : dotnet-version-sweeper
37
+
38
+ env :
39
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
40
+ with :
41
+ owner : ${{ github.repository_owner }}
42
+ name : ${{ github.repository }}
43
+ branch : ${{ github.ref }}
You can’t perform that action at this time.
0 commit comments