Skip to content

Commit

Permalink
Remove GitHub publishing
Browse files Browse the repository at this point in the history
Remove publishing to GitHub Packages as we seem to have used up the free quota and we don't really seem to use them anyway.
  • Loading branch information
martincostello committed Nov 14, 2023
1 parent 2a81c43 commit 1e07f08
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,33 +132,8 @@ jobs:
Write-Output "::error::$invalidPackages NuGet package(s) failed validation."
}
publish-github:
needs: [ build, validate-packages ]
permissions:
packages: write
runs-on: ubuntu-latest
if: false # Temporarily disabled
#if: |
# github.event.repository.fork == false &&
# (github.ref_name == github.event.repository.default_branch ||
# startsWith(github.ref, 'refs/tags/'))
steps:

- name: Download packages
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
with:
name: packages-windows

- name: Setup .NET SDK
uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # v3.2.0
with:
dotnet-version: ${{ needs.build.outputs.dotnet-sdk-version }}

- name: Publish NuGet packages to GitHub Packages
run: dotnet nuget push "*.nupkg" --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate --no-symbols --source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json

sign:
needs: [ build, publish-github ]
needs: [ build, validate-packages ]
runs-on: windows-latest
if: |
github.event.repository.fork == false &&
Expand Down

0 comments on commit 1e07f08

Please sign in to comment.