Skip to content

v0.15.1

v0.15.1 #10

name: OnPublishedRelease
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
dotnet-quality: 'ga'
- name: Restore dependencies
run: |
dotnet restore ./src/L3D.Net/L3D.Net.csproj
dotnet restore ./src/L3D.Net.Tests/L3D.Net.Tests.csproj
- name: Build
run: |
dotnet build --no-restore --configuration Release ./src/L3D.Net/L3D.Net.csproj
dotnet build --no-restore --configuration Debug ./src/L3D.Net.Tests/L3D.Net.Tests.csproj
- name: Test
run: dotnet test --no-build --verbosity normal ./src/L3D.Net.Tests/L3D.Net.Tests.csproj
- name: publish on nuget.org
id: publish_nuget
uses: alirezanet/[email protected]
with:
PROJECT_FILE_PATH: ./src/L3D.Net/L3D.Net.csproj
PACKAGE_NAME: L3D.Net
VERSION_STATIC: 1.0.0
TAG_COMMIT: false
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
NUGET_SOURCE: https://api.nuget.org
INCLUDE_SYMBOLS: false