Skip to content

addressing #220 and #221 #206

addressing #220 and #221

addressing #220 and #221 #206

Workflow file for this run

name: Samples
on:
push:
branches:
- master
tags:
- '**'
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Build
working-directory: samples
run: dotnet build -c Release
- name: Test
working-directory: samples
run: dotnet test -c Release --no-build
pack:
runs-on: ubuntu-latest
needs: build
if: github.event_name == 'push'
steps:
- uses: actions/checkout@v1
- uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Pack
working-directory: samples
run: dotnet pack AspectInjector.SampleApps.sln -o `pwd`/artifacts -c Release
- uses: actions/upload-artifact@v1
with:
name: artifacts
path: ./samples/artifacts