Skip to content

Commit

Permalink
Update build step in codeql-analysis-csharp.yaml
Browse files Browse the repository at this point in the history
add a step before build step
  • Loading branch information
yangx17 authored Jan 8, 2025
1 parent 31fdb01 commit 3be7ed6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/codeql-analysis-csharp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,14 @@ jobs:
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh

- run: |
- name: Install dependencies
run: |
dotnet restore lib/PuppeteerSharp.sln
dotnet dev-certs https -ep lib/PuppeteerSharp.TestServer/testCert.cer
sudo openssl x509 -inform der -in lib/PuppeteerSharp.TestServer/testCert.cer -out /usr/local/share/ca-certificates/testCert.crt -outform pem
sudo update-ca-certificates
- name: Build
run: |
echo "Run, Build Application using script"
dotnet build lib/PuppeteerSharp.sln
Expand Down

0 comments on commit 3be7ed6

Please sign in to comment.