@@ -2,10 +2,10 @@ name: dotnet
2
2
3
3
on :
4
4
push :
5
- branches : [master ]
5
+ branches : [main, support/* ]
6
6
tags : ["*"]
7
7
pull_request :
8
- branches : [master ]
8
+ branches : [main, support/* ]
9
9
10
10
jobs :
11
11
build :
@@ -15,22 +15,22 @@ jobs:
15
15
fullSemVer : ${{ steps.gitversion.outputs.fullSemVer }}
16
16
17
17
steps :
18
- - uses : actions/checkout@v2
18
+ - uses : actions/checkout@v2.3.4
19
19
with :
20
20
fetch-depth : 0
21
21
22
- -
uses :
gittools/actions/gitversion/[email protected] .4
22
+ -
uses :
gittools/actions/gitversion/[email protected] .10
23
23
with :
24
- versionSpec : " 5.x"
24
+ versionSpec : 5.x
25
25
26
26
- id : gitversion
27
- uses :
gittools/actions/gitversion/[email protected] .4
27
+ uses :
gittools/actions/gitversion/[email protected] .10
28
28
29
- - uses : actions/setup-dotnet@v1
29
+ - uses : actions/setup-dotnet@v1.8.2
30
30
with :
31
- dotnet-version : 2.1.401
31
+ dotnet-version : 6.0.x
32
32
33
- - uses : actions/cache@v2
33
+ - uses : actions/cache@v2.1.6
34
34
env :
35
35
NUGET_PACKAGES : ${{ github.workspace }}/.nuget/packages
36
36
with :
73
73
74
74
nuget-push-dev :
75
75
runs-on : ubuntu-latest
76
- if : github.ref == 'refs/heads/master '
76
+ if : github.ref == 'refs/heads/main '
77
77
needs : build
78
78
79
79
steps :
83
83
name : nugets
84
84
85
85
- name : setup dotnet
86
- uses : actions/setup-dotnet@v1
86
+ uses : actions/setup-dotnet@v1.8.2
87
87
with :
88
- dotnet-version : 3.1
88
+ dotnet-version : 6.0.x
89
89
source-url : https://nuget.pkg.github.com/linked-data-dotnet/index.json
90
90
env :
91
91
NUGET_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -103,9 +103,9 @@ jobs:
103
103
with :
104
104
name : nugets
105
105
106
- - uses : actions/setup-dotnet@v1
106
+ - uses : actions/setup-dotnet@v1.8.2
107
107
with :
108
- dotnet-version : 2.1.401
108
+ dotnet-version : 6.0.x
109
109
source-url : https://api.nuget.org/v3/index.json
110
110
env :
111
111
NUGET_AUTH_TOKEN : ${{ secrets.NUGET_API_KEY }}
0 commit comments