Skip to content

Update build -pr.yml #4

Update build -pr.yml

Update build -pr.yml #4

Workflow file for this run

name: PR build
on:
push:
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set Environment Variables
run: |
echo ""DOTNET_CLI_HOME=$HOME"" >> $GITHUB_ENV
echo ""HOME=$HOME"" >> $GITHUB_ENV
- name: Debug environment variables
run: env | grep HOME
- 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