Skip to content

Commit

Permalink
Update nuget.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SpringHgui authored Jul 14, 2024
1 parent ccce417 commit f9cdba4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: publish nuget

on:
push:
tags:
- '*'
branches:
- master

jobs:
publish:
Expand All @@ -19,7 +19,7 @@ jobs:
dotnet-version: 8.0.*
include-prerelease: true
- name: Package
run: dotnet pack -c Release -o . src/OpenTask.Core/OpenTask.Core.csproj
run: dotnet build -c Release -o . src/OpenTask.Core/OpenTask.Core.csproj
- name: Publish
run: dotnet nuget push *.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json

Expand Down

0 comments on commit f9cdba4

Please sign in to comment.