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 }}