Skip to content

[spec] build actions bump to new versions #60

[spec] build actions bump to new versions

[spec] build actions bump to new versions #60

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]
steps:
- name: Code Checkout
uses: actions/[email protected]
- name: Install DotNet
uses: actions/setup-dotnet@v4
- name: Restore Dependencies
run: dotnet restore
- name: Build Package
run: dotnet build --no-restore -c Release
- name: Perform Unit Testing
run: dotnet test --no-build -c Release --verbosity normal
- name: Create Package
run: dotnet pack --no-build -c Release -o ./publish
- name: Create packages artifact
if: ${{ matrix.os == 'windows-latest' }}
uses: actions/upload-artifact@v4
with:
name: Packages
path: ./src/publish/