Skip to content

Commit c98a57b

Browse files
committed
Update dotnet in tests (3.1 -> 6.0)
Signed-off-by: Ivan Kochurkin <[email protected]>
1 parent 83b4329 commit c98a57b

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#!/bin/bash
22

33
echo "installing .Net SDK..."
4-
wget https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
4+
wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
55
sudo dpkg -i packages-microsoft-prod.deb
6+
rm packages-microsoft-prod.deb
67
sudo apt-get update; \
78
sudo apt-get install -y apt-transport-https && \
89
sudo apt-get update && \
9-
sudo apt-get install -y dotnet-sdk-3.1
10-
export PATH=$PATH:~/.dotnet
10+
sudo apt-get install -y dotnet-sdk-6.0
1111
echo "done installing .Net SDK"

.github/workflows/windows.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,11 @@ jobs:
4343
uses: actions/setup-node@v2
4444
with:
4545
node-version: '14'
46-
- name: Setup Dotnet 3.1 and 5.0
46+
- name: Setup Dotnet
4747
if: matrix.TARGET == 'csharp'
4848
uses: actions/setup-dotnet@v1
4949
with:
50-
dotnet-version: |
51-
3.1.x
52-
5.0.x
50+
dotnet-version: '6.0.x'
5351
# fails due to os (Linux only), use global install
5452
# - name: Setup Dart 2.12.1
5553
# uses: dart-lang/setup-dart@v1

runtime-testsuite/resources/org/antlr/v4/test/runtime/helpers/Antlr4.Test.csproj.stg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
\<Project Sdk="Microsoft.NET.Sdk">
22

33
\<PropertyGroup>
4-
\<TargetFramework>netcoreapp3.1\</TargetFramework>
4+
\<TargetFramework>net6.0\</TargetFramework>
55
\<NoWarn>$(NoWarn);CS3021\</NoWarn>
66
\<AssemblyName>Test\</AssemblyName>
77
\<OutputType>Exe\</OutputType>

0 commit comments

Comments
 (0)