Skip to content

Bind CefPdfPrintSettings.SelectionOnly #8

Bind CefPdfPrintSettings.SelectionOnly

Bind CefPdfPrintSettings.SelectionOnly #8

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Setup NuGet.config
run: |
dotnet nuget add source --username emclient --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github-emclient "https://nuget.pkg.github.com/emclient/index.json"
- name: Build NuGet packages
run: |
dotnet pack CefGlue -o artifacts
- name: Publish on GitHub
run: |
find artifacts -name '*.nupkg' | xargs -i dotnet nuget push {} -s https://nuget.pkg.github.com/emclient/index.json --api-key ${{ secrets.GITHUB_TOKEN }}