Skip to content

Update build

Update build #2

Workflow file for this run

name: PR build
on:
push:
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
runs-on: self-hosted
steps:
- name: Set Environment Variables
run: |
echo ""DOTNET_CLI_HOME=$HOME"" >> $GITHUB_ENV
echo ""HOME=$HOME"" >> $GITHUB_ENV
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore