Skip to content

Added global build props πŸ—οΈ #1

Added global build props πŸ—οΈ

Added global build props πŸ—οΈ #1

Workflow file for this run

name: "πŸ—οΈ Build and Test πŸ§ͺ"
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main", "support/*" ]
jobs:
build:
runs-on: windows-latest
steps:
- name: πŸ“₯ Checkout Repository
uses: actions/checkout@v3
- name: βœ… Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: πŸ“¦ Cache Packages
uses: actions/cache@v2
with:
path: |
~/.nuget/packages
!~/.nuget/packages/**/content
!~/.nuget/packages/**/contentFiles
key: ${{ runner.os }}-dotnet-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-dotnet-
- name: ⬇️ Restore Dependencies
run: dotnet restore
- name: πŸ—οΈ Build
run: dotnet build -c Release --no-restore
- name: πŸ§ͺ Test
run: dotnet test -c Release --no-build --verbosity normal