Skip to content

Commit 3be7ed6

Browse files
authored
Update build step in codeql-analysis-csharp.yaml
add a step before build step
1 parent 31fdb01 commit 3be7ed6

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/codeql-analysis-csharp.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,14 @@ jobs:
5656
# echo "Run, Build Application using script"
5757
# ./location_of_script_within_repo/buildscript.sh
5858

59-
- run: |
59+
- name: Install dependencies
60+
run: |
61+
dotnet restore lib/PuppeteerSharp.sln
62+
dotnet dev-certs https -ep lib/PuppeteerSharp.TestServer/testCert.cer
63+
sudo openssl x509 -inform der -in lib/PuppeteerSharp.TestServer/testCert.cer -out /usr/local/share/ca-certificates/testCert.crt -outform pem
64+
sudo update-ca-certificates
65+
- name: Build
66+
run: |
6067
echo "Run, Build Application using script"
6168
dotnet build lib/PuppeteerSharp.sln
6269

0 commit comments

Comments
 (0)