Skip to content

Commit 751c7ae

Browse files
author
Petr Sramek
committed
updated if statement
1 parent 9110391 commit 751c7ae

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/dotnet.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,15 @@ jobs:
6464

6565
steps:
6666
- uses: actions/checkout@v3
67-
- name: Fix libssl
68-
run: |
69-
wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.23_amd64.deb
70-
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2.23_amd64.deb
7167
- name: Setup .NET ${{ matrix.netversion }}
7268
uses: actions/setup-dotnet@v3
7369
with:
7470
dotnet-version: ${{ matrix.netversion }}.x
71+
- name: Fix libssl
72+
if: ${{ matrix.netversion == 5 && matrix.os == 'ubuntu-latest' }}
73+
run: |
74+
wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.23_amd64.deb
75+
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2.23_amd64.deb
7576
- uses: actions/download-artifact@v4
7677
with:
7778
name: build

0 commit comments

Comments
 (0)