Skip to content

Browserless rewrite #137

Browserless rewrite

Browserless rewrite #137

Workflow file for this run

name: .NET
on:
push:
paths-ignore:
- 'doc/**'
- 'img/**'
- 'changelog.md'
- 'license.txt'
- 'readme.md'
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Install .NET 10
uses: actions/setup-dotnet@v5
with:
global-json-file: global.json
- name: Build
run: dotnet build -c Debug
- name: Test (Debug)
run: dotnet test -c Debug --no-build
- name: Build, Tests, Cover, Pack and Publish (on push tag)
if: startsWith(github.event.ref, 'refs/tags/')
run: |
dotnet build
dotnet tool install --global dotnet-releaser
dotnet-releaser run --nuget-token ${{secrets.NUGET_TOKEN}} --github-token ${{secrets.GITHUB_TOKEN}} dotnet-releaser.toml