Skip to content

ci: Write license file before build step #118

ci: Write license file before build step

ci: Write license file before build step #118

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: 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