Skip to content

[#489] [edit] version/changelog #389

[#489] [edit] version/changelog

[#489] [edit] version/changelog #389

Workflow file for this run

name: Build Package
on: push
defaults:
run:
working-directory: src
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
include:
- os: windows-latest
solution: Simplify.sln
tests-exclude-category: Linux
- os: ubuntu-latest
solution: Simplify.NetCore.sln
tests-exclude-category: Windows
steps:
- name: Code Checkout
uses: actions/[email protected]
- name: Install DotNet
uses: actions/setup-dotnet@v4
- name: Restore Dependencies
run: dotnet restore ${{ matrix.solution }}
- name: Build Packages
run: dotnet build ${{ matrix.solution }} --no-restore -c Release
- name: Perform Unit Testing
run: dotnet test ${{ matrix.solution }} --no-build -c Release --filter "TestCategory != Integration & TestCategory != ${{ matrix.tests-exclude-category }}" --verbosity normal
- name: Create Packages
run: dotnet pack ${{ matrix.solution }} --no-build -c Release -o ./publish
- name: Create Source Packages
if: ${{ matrix.os == 'windows-latest' }}
shell: pwsh
working-directory: .
run: ./MakeSourcePackages.ps1
- name: Create packages artifact
uses: actions/[email protected]
with:
name: Packages
path: ./src/publish/