Skip to content

Commit

Permalink
set nuget source
Browse files Browse the repository at this point in the history
  • Loading branch information
JosepFe committed Dec 10, 2024
1 parent 77f0606 commit 0facd26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/nuget-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

- name: Get latest version from GitHub Packages
run: |
LATEST_VERSION=$(dotnet nuget list source --source "https://nuget.pkg.github.com/<YOUR_GITHUB_USERNAME>/index.json" | grep "${{ github.event.inputs.project }}" | head -n 1 | awk '{print $2}')
LATEST_VERSION=$(dotnet nuget list source --source "https://nuget.pkg.github.com/JosepFe/index.json" | grep "${{ github.event.inputs.project }}" | head -n 1 | awk '{print $2}')
echo "Latest version: $LATEST_VERSION"
echo "LATEST_VERSION=$LATEST_VERSION" >> $GITHUB_ENV
Expand Down

0 comments on commit 0facd26

Please sign in to comment.