Skip to content

Increase default buffer size #3

Increase default buffer size

Increase default buffer size #3

Workflow file for this run

name: Preview NuGet package
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set VERSION variable from tag
run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build -c Release /p:Version=${VERSION}
- name: Test
run: dotnet test -c Release /p:Version=${VERSION} --no-restore --verbosity normal
- name: Pack
run: dotnet pack -c Release /p:Version=${VERSION} --no-restore --output .
- name: Push
run: dotnet nuget push OldBit.Beep.${VERSION}.nupkg --source https://nuget.pkg.github.com/oldbit-com/index.json --api-key ${{ secrets.GITHUB_TOKEN }}