Files
Syrette/.gitea/workflows/nuget-pkg-build.yml
Samuele Lorefice 043cba4b3f
Some checks failed
Nuget Pkg Build / build (push) Failing after 25s
Added support for multiple constructors and best match greedy resolution.
2025-09-21 21:30:41 +02:00

27 lines
733 B
YAML

name: Nuget Pkg Build
on:
workflow_dispatch:
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.x
- name: Build
run: dotnet build Syrette -c Release
#- name: Test
# run: dotnet test -c Release --no-build
- name: Pack nugets
run: dotnet pack Syrette -c Release --no-build --output . --include-symbols --include-source
- name: Push to NuGet
run: dotnet nuget push "*.nupkg" --api-key ${{secrets.NUGETAPIKEY}} --source https://api.nuget.org/v3/index.json