Skip to content

Commit 92f74c7

Browse files
authored
Update build-and-test.yml
Add env: DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: 1
1 parent bf414cd commit 92f74c7

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@ on:
1111

1212
jobs:
1313
build-and-test:
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-latest
15+
16+
env:
17+
# Necessary for installing OpenSSL 1.1
18+
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: 1
19+
1520
steps:
1621
- uses: actions/checkout@v4
1722

@@ -20,20 +25,15 @@ jobs:
2025
with:
2126
dotnet-version: '3.1.x'
2227

23-
- name: Setup .NET 8.0
24-
uses: actions/setup-dotnet@v4
25-
with:
26-
dotnet-version: '8.0.x'
27-
28-
- name: Setup .NET SDK 9
29-
uses: actions/setup-dotnet@v4
30-
with:
31-
dotnet-version: 9
32-
3328
- name: Install OpenSSL 1.1
3429
run: |
3530
wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.24_amd64.deb
3631
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2.24_amd64.deb`
32+
33+
- name: Setup .NET 8.0
34+
uses: actions/setup-dotnet@v4
35+
with:
36+
dotnet-version: '8.0.x'
3737

3838
- run: dotnet restore
3939
- run: dotnet build --no-restore

0 commit comments

Comments
 (0)