Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zorgoz authored Apr 8, 2024
1 parent ba50748 commit e813c02
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ jobs:
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Publish NuGet
uses: brandedoutcast/[email protected]
with:
PROJECT_FILE_PATH: PreCompress.csproj
PACKAGE_NAME: zorgoz.PreCompress
NUGET_KEY: ${{ secrets.key }}

- name: Package
run: dotnet pack -c Release -o . PreCompress.csproj
- name: Publish
run: dotnet nuget push *.nupkg -k ${{ secrets.key }} -s https://api.nuget.org/v3/index.json

0 comments on commit e813c02

Please sign in to comment.