Skip to content

Commit dd04ace

Browse files
Update github actions to dotnet 6
1 parent 0987022 commit dd04ace

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/main.yml

+14-14
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: .NET
22

33
on:
44
push:
5-
branches: [ v9/dev ]
5+
branches: [v9/dev]
66

77
jobs:
88
build:
@@ -12,20 +12,20 @@ jobs:
1212
runs-on: windows-latest
1313

1414
steps:
15-
- uses: actions/checkout@v2
16-
- name: Setup .NET
17-
uses: actions/setup-dotnet@v1
18-
with:
19-
dotnet-version: 5.0.x
15+
- uses: actions/checkout@v2
16+
- name: Setup .NET
17+
uses: actions/setup-dotnet@v1
18+
with:
19+
dotnet-version: 6.0.x
2020

21-
- name: Add Beta source
22-
run: dotnet nuget add source "https://www.myget.org/F/umbracoprereleases/api/v3/index.json" -n "Umbraco Prereleases"
21+
- name: Add Beta source
22+
run: dotnet nuget add source "https://www.myget.org/F/umbracoprereleases/api/v3/index.json" -n "Umbraco Prereleases"
2323

24-
- name: Build
25-
run: dotnet pack --include-source --include-symbols -p:SymbolPackageFormat=snupkg -c Release src/Our.Umbraco.GraphQL/Our.Umbraco.GraphQL.csproj -o .
24+
- name: Build
25+
run: dotnet pack --include-source --include-symbols -p:SymbolPackageFormat=snupkg -c Release src/Our.Umbraco.GraphQL/Our.Umbraco.GraphQL.csproj -o .
2626

27-
# - name: Test
28-
# run: dotnet test --no-build --verbosity normal
27+
# - name: Test
28+
# run: dotnet test --no-build --verbosity normal
2929

30-
- name: Publish NuGet
31-
run: dotnet nuget push *.nupkg -s '${{ env.NUGET_FEED }}' -k '${{ env.NUGET_TOKEN }}'
30+
- name: Publish NuGet
31+
run: dotnet nuget push *.nupkg -s '${{ env.NUGET_FEED }}' -k '${{ env.NUGET_TOKEN }}'

0 commit comments

Comments
 (0)