Skip to content

Merge pull request #17 from Garados007/dependabot/nuget/MaxLib.WebSer… #68

Merge pull request #17 from Garados007/dependabot/nuget/MaxLib.WebSer…

Merge pull request #17 from Garados007/dependabot/nuget/MaxLib.WebSer… #68

Workflow file for this run

name: .NET Core
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: |
8.0
6.0.102
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Upload Build Fail Artifacts
uses: actions/upload-artifact@v4
if: failure()
with:
name: build-fail-artifact
path: ${{ github.workspace }}
- name: Test
run: dotnet test --no-restore
- name: Upload Test Fail Artifacts
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-fail-artifact
path: ${{ github.workspace }}