Skip to content

Commit e2c447a

Browse files
committed
[ClientSDKs/C#] Added netcore version 3 back in GitHub workflows (required by gpr)
1 parent 895a027 commit e2c447a

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.github/workflows/new-csharp-release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,13 @@ jobs:
3737

3838
# As we are using `GITHUB_TOKEN` for auth, this workflow does not trigger the `nuget-pack` workflow, so we need to inline it below
3939

40-
- name: Setup .NET Core
40+
- name: Setup .NET Core # required by the `gpr` tool
41+
if: ${{ !contains(fromJson(steps.fetch_all_releases.outputs.all_releases).*.tag_name, steps.fetch_current_version.outputs.current_version) }}
42+
uses: actions/setup-dotnet@v1
43+
with:
44+
dotnet-version: 3.1.301
45+
46+
- name: Setup .NET Core # required by ClientSDK
4147
if: ${{ !contains(fromJson(steps.fetch_all_releases.outputs.all_releases).*.tag_name, steps.fetch_current_version.outputs.current_version) }}
4248
uses: actions/setup-dotnet@v1
4349
with:

.github/workflows/nuget-pack.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ jobs:
1515
- name: Checkout code
1616
uses: actions/checkout@v2
1717

18-
- name: Setup .NET Core
18+
- name: Setup .NET Core # required by the `gpr` tool
19+
if: ${{ !contains(fromJson(steps.fetch_all_releases.outputs.all_releases).*.tag_name, steps.fetch_current_version.outputs.current_version) }}
20+
uses: actions/setup-dotnet@v1
21+
with:
22+
dotnet-version: 3.1.301
23+
24+
- name: Setup .NET Core # required by ClientSDK
1925
uses: actions/setup-dotnet@v1
2026
with:
2127
dotnet-version: 5.0.100-rc.2.20479.15

0 commit comments

Comments
 (0)