Skip to content

feat: Add AllowNegotiate option for audio buffer size control #10

feat: Add AllowNegotiate option for audio buffer size control

feat: Add AllowNegotiate option for audio buffer size control #10

Workflow file for this run

name: Test and Publish NuGet
# Trigger the workflow on push to master
on:
push:
branches:
- "main"
jobs:
build:
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: "10.0.x"
- name: Package NuGet
working-directory: ./src/Spice86.Audio
run: dotnet pack --include-symbols --include-source --configuration Release -p:NoWarn=1591
- name: Upload NuGet Spice86.Audio
if: github.ref == 'refs/heads/main' && matrix.os == 'ubuntu-latest'
working-directory: ./src/Spice86.Audio/bin/Release
run: dotnet nuget push Spice86.Audio.11.2.0.nupkg --api-key "${{ secrets.NUGET_API_KEY }}" --source "https://api.nuget.org/v3/index.json" --skip-duplicate