Skip to content

Create codeql.yml

Create codeql.yml #161

Workflow file for this run

name: .NET Core Build
on: [push, pull_request]
jobs:
build:
runs-on: windows-2019
steps:
- uses: actions/[email protected]
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.400
- name: Build iTextSharp.LGPLv2.Core lib
run: dotnet build ./src/iTextSharp.LGPLv2.Core/iTextSharp.LGPLv2.Core.csproj --configuration Release
- name: Push Package to NuGet.org
if: github.event_name == 'push'
run: dotnet nuget push **\*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate