From a18f08ef10bff4bd0cf0b07917a344b0fcf05a48 Mon Sep 17 00:00:00 2001 From: Marc Gravell Date: Fri, 17 Nov 2023 12:07:19 +0000 Subject: [PATCH] Update dotnet.yml (#83) --- .github/workflows/dotnet.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 62de1ddb..e6acff74 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -32,6 +32,9 @@ jobs: - name: Restore dependencies run: dotnet restore Build.csproj + - name: Purge + run: del src/Dapper.*/bin/Release/Dapper.AOT.*.nupkg + - name: Build run: dotnet build Build.csproj --no-restore -c Release @@ -44,6 +47,6 @@ jobs: - name: Push to MyGet if: ${{ success() && !github.base_ref }} - run: dotnet nuget push src/Dapper.AOT/bin/Release/Dapper.AOT.${NBGV_NuGetPackageVersion}.nupkg --source https://www.myget.org/F/dapper/api/v2/package --api-key "$env:MYGETAPIKEY" + run: dotnet nuget push src/Dapper.*/bin/Release/Dapper.AOT.*.nupkg --source https://www.myget.org/F/dapper/api/v2/package --api-key "$env:MYGETAPIKEY" env: MYGETAPIKEY: ${{ secrets.MYGETAPIKEY }}