Skip to content

Commit 63fc819

Browse files
Update GH workflows
1 parent ca34e46 commit 63fc819

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

.github/workflows/dotnet.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,7 @@ 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: 6.0.x
15+
- uses: actions/checkout@v3
2016
- name: Restore dependencies
2117
run: dotnet restore
2218
- name: Build

.github/workflows/release.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,11 @@ jobs:
1515
id: get_version
1616
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/releases\//}
1717
shell: bash
18-
- uses: actions/checkout@v2
19-
- name: Setup .NET
20-
uses: actions/setup-dotnet@v1
21-
with:
22-
dotnet-version: 6.0.x
18+
- uses: actions/checkout@v3
2319
- name: Restore dependencies
2420
run: dotnet restore
2521
- name: Build
26-
run: dotnet build --no-restore -c Release .\ProtobufDecoder.sln
22+
run: dotnet build --no-restore -c Release ProtobufDecoder.sln
2723
- name: Test
2824
run: dotnet test --no-build --verbosity normal -c Release
2925
- name: Add msbuild to PATH

0 commit comments

Comments
 (0)