Skip to content

Commit

Permalink
Final push before merge
Browse files Browse the repository at this point in the history
  • Loading branch information
ckuetbach committed Apr 12, 2024
1 parent 34ec84e commit 9563c4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: "Build & Test"

on:
push:
branches: [ "main", "github-actions" ]
branches: [ "main" ]
pull_request:
branches: [ "main" ]

Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: "Publish to nuget.org"

on:
push:
branches: [ "main", "github-actions" ]
branches: [ "main" ]

jobs:
build:
Expand All @@ -31,6 +31,4 @@ jobs:
name: Publish Prerelease NuGet
run: |
dotnet pack -c Debug /p:Version=${{ env.VERSION }}.${{ github.run_number }}-prerelease /p:InformationalVersion="${{ env.VERSION }}+${{github.ref_name}}/${{github.sha}}"
echo "Find nupkg files"
find . -name "*.nupkg"
dotnet nuget push "**/*.${{ env.VERSION }}.${{ github.run_number }}-prerelease.nupkg" -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_PUSH}} --skip-duplicate

0 comments on commit 9563c4d

Please sign in to comment.