Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: Refactor logging structure by introducing Scope and Log propert… #172

feat: Refactor logging structure by introducing Scope and Log propert…

feat: Refactor logging structure by introducing Scope and Log propert… #172

Workflow file for this run

name: Build
on:
push:
branches: ['**']
pull_request:
paths: ['src/**.cs']
branches: [ 'release/*', 'master']
permissions:
pull-requests: read
jobs:
build:
if: contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.pull_request.author_association)
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.CI_BUILD_TOKEN }}
- name: Setup dotnet
uses: actions/setup-dotnet@v4
- name: dotnet restore
run: dotnet restore Loggle.sln -p:RunningDotNetPack=true
- name: dotnet build
run: dotnet build Loggle.sln --configuration Release --no-restore -p:Deterministic=true -p:RunningDotNetPack=true
- name: dotnet format
run: dotnet format Loggle.sln --no-restore --verify-no-changes
- name: dotnet pack
run: dotnet pack "src/Loggle/Loggle.csproj" --output nupkgs --configuration Release --no-restore --no-build --verbosity=normal