Skip to content

Commit c3fe409

Browse files
Update publish_new.yml
1 parent 8d207bc commit c3fe409

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/publish_new.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,7 @@ jobs:
5858
- name: Test
5959
run: dotnet test --no-build --configuration Release --verbosity normal
6060

61-
- name: Pack
62-
run: dotnet pack --no-build --configuration Release -p:PackageVersion=${{ env.version_tag }} -o ./output
61+
- name: Pack and Push
62+
run: dotnet pack --no-build --configuration ${{ env.BUILD_CONFIGURATION }} -p:PackageOutputPath=../../output -p:PackageVersion=${{ env.version_tag }} -p:PackageSource='${{ env.NUGET_SOURCE }}' -p:PushAfterPack=true -p:PackageApiKey='${{ secrets.NUGET_API_KEY }}'
6363

64-
- name: Upload package artifact
65-
uses: actions/upload-artifact@v4
66-
with:
67-
name: nuget-packages
68-
path: ./output/*.nupkg
64+

0 commit comments

Comments
 (0)