Skip to content

Commit 9bfed9b

Browse files
committed
Update GitHub Actions workflow to enable use of GitHub Packages before publishing the package to nuget.org.
1 parent 4809cd4 commit 9bfed9b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/gh-pages.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ jobs:
2424
- name: Install .NET WebAssembly Tools
2525
run: dotnet workload install wasm-tools
2626

27+
# Add GitHub Packages as a NuGet source
28+
- name: Add GitHub Packages source
29+
run: dotnet nuget add source "https://nuget.pkg.github.com/jsakamoto/index.json" --name "GitHubPackages" --username "jsakamoto" --password "${{ secrets.GITHUB_TOKEN }}" --store-password-in-clear-text
30+
2731
# Publish the site
2832
- name: Publish
2933
run: dotnet publish BlazorWasmApp1.csproj -o ../../public -p GHPages=true --nologo

0 commit comments

Comments
 (0)