Skip to content

Commit d2b94b1

Browse files
committed
Bump to .NET 6 in the GitHub Actions workflow
# Conflicts: # .github/workflows/dotnet.yml
1 parent fac7e7d commit d2b94b1

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/dotnet.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: dotnet
22

33
on:
44
push:
5-
branches: [master]
5+
branches: [main]
66
tags: ["*"]
77
pull_request:
8-
branches: [master]
8+
branches: [main]
99

1010
jobs:
1111
build:
@@ -15,22 +15,22 @@ jobs:
1515
fullSemVer: ${{ steps.gitversion.outputs.fullSemVer }}
1616

1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v2.3.4
1919
with:
2020
fetch-depth: 0
2121

22-
- uses: gittools/actions/gitversion/setup@v0.9.4
22+
- uses: gittools/actions/gitversion/setup@v0.9.10
2323
with:
24-
versionSpec: "5.x"
24+
versionSpec: 5.x
2525

2626
- id: gitversion
27-
uses: gittools/actions/gitversion/execute@v0.9.4
27+
uses: gittools/actions/gitversion/execute@v0.9.10
2828

29-
- uses: actions/setup-dotnet@v1
29+
- uses: actions/setup-dotnet@v1.8.2
3030
with:
31-
dotnet-version: 2.1.401
31+
dotnet-version: 6.0.x
3232

33-
- uses: actions/cache@v2
33+
- uses: actions/cache@v2.1.6
3434
env:
3535
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
3636
with:
@@ -73,7 +73,7 @@ jobs:
7373

7474
nuget-push-dev:
7575
runs-on: ubuntu-latest
76-
if: github.ref == 'refs/heads/master'
76+
if: github.ref == 'refs/heads/main'
7777
needs: build
7878

7979
steps:
@@ -83,9 +83,9 @@ jobs:
8383
name: nugets
8484

8585
- name: setup dotnet
86-
uses: actions/setup-dotnet@v1
86+
uses: actions/setup-dotnet@v1.8.2
8787
with:
88-
dotnet-version: 3.1
88+
dotnet-version: 6.0.x
8989
source-url: https://nuget.pkg.github.com/linked-data-dotnet/index.json
9090
env:
9191
NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -103,9 +103,9 @@ jobs:
103103
with:
104104
name: nugets
105105

106-
- uses: actions/setup-dotnet@v1
106+
- uses: actions/setup-dotnet@v1.8.2
107107
with:
108-
dotnet-version: 2.1.401
108+
dotnet-version: 6.0.x
109109
source-url: https://api.nuget.org/v3/index.json
110110
env:
111111
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_API_KEY }}

0 commit comments

Comments
 (0)