Watch
2
0
Fork
You've already forked raylib-cs
0

Default tests to local project reference. Can optionally use the nuget package.

This commit is contained in:
Rgebee 2026-07-21 07:58:12 +01:00
commit b207e633ae
3 changed files with 12 additions and 9 deletions

View file

@ -11,7 +11,7 @@ on:
paths-ignore:
- "README.md"
- ".github/ISSUE_TEMPLATE/**"
workflow_dispatch:
jobs:
@ -21,7 +21,7 @@ jobs:
steps:
- uses: actions/checkout@v7
- name: Setup .NET
- name: Set up .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
@ -34,7 +34,6 @@ jobs:
- name: Create NuGet Package
run: dotnet pack Raylib-cs -c Release --output nuget
- name: Restore + Install Built Package
run: |
@ -44,18 +43,18 @@ jobs:
run: |
dotnet test --verbosity normal
- name: upload NuGet Package As Artifact
- name: Upload NuGet Package As Artifact
uses: actions/upload-artifact@v7
with:
path: nuget/*
- name: upload NuGet Package As Release
- name: Upload NuGet Package As Release
uses: softprops/action-gh-release@v3
if: startsWith(github.ref, 'refs/tags/')
with:
files: nuget/*
- name: publish to NuGet
- name: Publish to NuGet
if: startsWith(github.ref, 'refs/tags/')
run: |
dotnet nuget push \