#230 Add support for async on before, on after and on exception operations #212
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |