Skip to content

Commit 1e07f08

Browse files
Remove GitHub publishing
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.
1 parent 2a81c43 commit 1e07f08

File tree

1 file changed

+1
-26
lines changed

1 file changed

+1
-26
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -132,33 +132,8 @@ jobs:
132132
Write-Output "::error::$invalidPackages NuGet package(s) failed validation."
133133
}
134134
135-
publish-github:
136-
needs: [ build, validate-packages ]
137-
permissions:
138-
packages: write
139-
runs-on: ubuntu-latest
140-
if: false # Temporarily disabled
141-
#if: |
142-
# github.event.repository.fork == false &&
143-
# (github.ref_name == github.event.repository.default_branch ||
144-
# startsWith(github.ref, 'refs/tags/'))
145-
steps:
146-
147-
- name: Download packages
148-
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
149-
with:
150-
name: packages-windows
151-
152-
- name: Setup .NET SDK
153-
uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # v3.2.0
154-
with:
155-
dotnet-version: ${{ needs.build.outputs.dotnet-sdk-version }}
156-
157-
- name: Publish NuGet packages to GitHub Packages
158-
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
159-
160135
sign:
161-
needs: [ build, publish-github ]
136+
needs: [ build, validate-packages ]
162137
runs-on: windows-latest
163138
if: |
164139
github.event.repository.fork == false &&

0 commit comments

Comments
 (0)