Skip to content

Commit 29f2116

Browse files
committed
fix: use API_GITHUB_TOKEN for NuGet source authentication
1 parent 09c3387 commit 29f2116

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,14 @@ jobs:
4444
--store-password-in-clear-text
4545
4646
- name: Install Computo CLI tools
47+
env:
48+
API_GITHUB_TOKEN: ${{ secrets.API_GITHUB_TOKEN }}
4749
run: |
50+
dotnet nuget add source "https://nuget.pkg.github.com/computorg/index.json" \
51+
--name "GitHubPackages" \
52+
--username "fradav" \
53+
--password "$API_GITHUB_TOKEN" \
54+
--store-password-in-clear-text
4855
dotnet tool install --global Computo.PublicationUpdater.Cli
4956
echo "$HOME/.dotnet/tools" >> $GITHUB_PATH
5057

0 commit comments

Comments
 (0)