Skip to content

Support non integer sample rate. #40

Support non integer sample rate.

Support non integer sample rate. #40

Workflow file for this run

name: CI/CD
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
release:
types:
- created
jobs:
build:
name: Build, Test, and Deploy
runs-on: windows-latest
steps:
- name: 🛒 Checkout
uses: actions/checkout@v4
- name: ✨ Setup .NET 8
uses: actions/setup-dotnet@v4
with:
dotnet-version: "8.0.x"
- name: 🚚 Restore
run: dotnet restore src
- name: 🛠️ Build
run: dotnet build src --configuration Release
- name: 🧪 Test
run: dotnet test src --configuration Release
- name: 📦 Pack
run: dotnet pack src --configuration Release
- name: 🔑 Configure Secrets
if: github.event_name == 'release'
uses: nuget/setup-nuget@v1
with:
nuget-api-key: ${{ secrets.NUGET_API_KEY }}
- name: 🚀 Deploy NuGet Package
if: github.event_name == 'release'
run: nuget push "src\Spectrogram\bin\Release\*.nupkg" -SkipDuplicate -Source https://api.nuget.org/v3/index.json