Skip to content

LPRun 8.6.2

LPRun 8.6.2 #26

Workflow file for this run

name: build
on: [push, pull_request]
env:
SLN: LPRun.sln
SLN_CONFIG: Release
BIN_POSTFIX: .Bin
RETENTION_DAYS: 1
jobs:
build:
runs-on: ubuntu-latest
steps:
# Set up
- name: Setup .NET
uses: actions/setup-dotnet@v4.0.0
with:
dotnet-version: |
8.0.x
# Check out
- name: Check out ${{env.SLN}}
uses: actions/checkout@v4.1.1
# LPRun
- name: Restore ${{env.SLN}}
run: dotnet restore ${{env.SLN}}
- name: Build ${{env.SLN}} ${{env.SLN_CONFIG}}
run: dotnet build ${{env.SLN}} --configuration ${{env.SLN_CONFIG}} --no-restore -p:GITHUB_ACTIONS=true
# Upload artifacts
- name: Publish LPRun ${{env.SLN_CONFIG}}
uses: actions/upload-artifact@v4.3.0
with:
name: LPRun${{env.BIN_POSTFIX}}
path: bin/${{env.SLN_CONFIG}}/LPRun.*.*nupkg
retention-days: ${{env.RETENTION_DAYS}}