Skip to content

ci: Add SixLabors NuGet source and license file #122

ci: Add SixLabors NuGet source and license file

ci: Add SixLabors NuGet source and license file #122

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.x
- run: dotnet nuget add source https://f.feedz.io/sixlabors/sixlabors/nuget/index.json
- run: echo "${{ secrets.SIXLABORS_LICENSE }}" > src/sixlabors.lic
- name: Build
run: dotnet publish -c Release -p:PublishSingleFile=true --self-contained true
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
path: src/bin/Release/net10.0/linux-x64/publish