Skip to content

Commit

Permalink
Update dotnet.yml (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgravell authored Nov 17, 2023
1 parent fe26db6 commit a18f08e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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 }}

0 comments on commit a18f08e

Please sign in to comment.