Skip to content

Fix nuspec

Fix nuspec #26

Workflow file for this run

name: Pack, nuget.org
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Get version from tag
run: echo "VERSION=${GITHUB_REF/refs\/tags\/}" >> $GITHUB_ENV
- name: Pack
run: dotnet pack latest/tSQLt.Edge --configuration Release /p:Version=${VERSION} /p:ContinuousIntegrationBuild=true --output .
- name: NuGet push
run: dotnet nuget push tSQLt.Edge.${VERSION}.nupkg --api-key ${{ secrets.NUGET_APIKEY }} --source https://api.nuget.org/v3/index.json