Skip to content

Merge pull request #76 from BoBoBaSs84/chore/code-of-conduct #84

Merge pull request #76 from BoBoBaSs84/chore/code-of-conduct

Merge pull request #76 from BoBoBaSs84/chore/code-of-conduct #84

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Build and Test
if: github.event_name != 'push'
run: dotnet test BB84.Extensions.sln -c Release
- name: Self Build - Publish (main only)
if: github.event_name == 'push'
shell: bash
run: |
dotnet tool install --global dotnet-releaser
dotnet-releaser run --nuget-token "${{secrets.NUGET_TOKEN}}" --github-token "${{secrets.GITHUB_TOKEN}}" dotnet-releaser.toml