Skip to content

Fix missing JsonSerializable #8

Fix missing JsonSerializable

Fix missing JsonSerializable #8

Workflow file for this run

name: Build
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
concurrency:
group: build_${{ github.ref_name }}
cancel-in-progress: true
jobs:
build:
permissions:
contents: read
attestations: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
8.0.x
- name: Define VERSION
run: |
echo "COMMIT=${GITHUB_SHA:0:7}"
echo "REPO_NAME=${GITHUB_REPOSITORY##*/}"
echo "BRANCH=${GITHUB_REF##*/}"
- name: Build (Debug)
run: dotnet build -c Debug
# - name: Test (Debug)
# run: dotnet test -c Debug --no-build -p:CollectCoverage=true -p:CoverletOutputFormat=opencover -p:Include="[Patreon.Api]*"
- name: Build (Release)
run: dotnet build -c Release
# - name: Test (Release)
# run: dotnet test -c Release --no-build -p:CollectCoverage=true -p:CoverletOutputFormat=opencover -p:Include="[Patreon.Api]*"
# - name: Upload Codecov
# uses: codecov/[email protected]
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# fail_ci_if_error: true