Proper build
Builds all packages properly
This commit is contained in:
parent
8a82c294a1
commit
78fd09aa91
15 changed files with 89 additions and 70 deletions
24
.github/workflows/dotnet-validate.yml
vendored
24
.github/workflows/dotnet-validate.yml
vendored
|
|
@ -10,28 +10,12 @@ on:
|
|||
branches: [ "master" ]
|
||||
|
||||
env:
|
||||
DOTNET_VERSION: '6.0.x' # The .NET SDK version to use
|
||||
DOTNET_VERSION: '7' # The .NET SDK version to use
|
||||
DOTNET_SLN: './Source/Libation.sln'
|
||||
DOTNET_CONFIGURATION: 'Release'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: ${{ env.DOTNET_VERSION }}
|
||||
|
||||
- name: Restore dependencies
|
||||
run: dotnet restore ${{ env.DOTNET_SLN }}
|
||||
|
||||
- name: Build
|
||||
run: dotnet build --configuration ${{ env.DOTNET_CONFIGURATION }} --no-restore ${{ env.DOTNET_SLN }}
|
||||
|
||||
- name: Test
|
||||
run: dotnet test --configuration ${{ env.DOTNET_CONFIGURATION }} --no-build --verbosity normal ${{ env.DOTNET_SLN }}
|
||||
|
||||
uses: ./.github/workflows/dotnet-build.yml
|
||||
with:
|
||||
version: ${{ github.sha }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue