diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d1f5637..82063d7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,7 +5,7 @@ name: "Build & Test" on: push: - branches: [ "main", "github-actions" ] + branches: [ "main" ] pull_request: branches: [ "main" ] diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2a45a3f..5fa9349 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,7 +5,7 @@ name: "Publish to nuget.org" on: push: - branches: [ "main", "github-actions" ] + branches: [ "main" ] jobs: build: @@ -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 \ No newline at end of file