Bump BenchmarkDotNet from 0.13.9 to 0.13.11 #183
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
env: | |
BUILD_CONFIG: 'Release' | |
SOLUTION: 'DbfDataReader.sln' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 6.0.x | |
- name: Build | |
run: dotnet build $SOLUTION --configuration $BUILD_CONFIG | |
- name: Run tests | |
run: dotnet test /p:Configuration=$BUILD_CONFIG --no-restore --no-build --verbosity normal | |
- name: Pack | |
run: dotnet pack --output ./artifacts --configuration $BUILD_CONFIG --no-build | |
- name: Push to MyGet | |
if: github.ref == 'refs/heads/main' | |
env: | |
NUGET_URL: ${{ secrets.MYGET_URL }} | |
NUGET_API_KEY: ${{ secrets.MYGET_API_KEY }} | |
run: dotnet nuget push ./artifacts/**.nupkg --source $NUGET_URL --api-key $NUGET_API_KEY | |
- name: Artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: artifacts | |
path: artifacts/**/* |