Skip to content

Merge pull request #82 from SimplifyNet/dependabot/npm_and_yarn/src/t… #84

Merge pull request #82 from SimplifyNet/dependabot/npm_and_yarn/src/t…

Merge pull request #82 from SimplifyNet/dependabot/npm_and_yarn/src/t… #84

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 Simplify.Web.Templates.csproj
- name: Build Package
run: dotnet build Simplify.Web.Templates.csproj --no-restore -c Release
- name: Create Package
run: dotnet pack Simplify.Web.Templates.csproj --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/