Skip to content

Commit

Permalink
Workaround Ubuntu 24.04 nuget issues
Browse files Browse the repository at this point in the history
  • Loading branch information
dpogue committed Dec 20, 2024
1 parent 109206a commit 167c728
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true

- name: Install dependencies
run: |
Expand All @@ -217,14 +219,18 @@ jobs:

- name: Setup NuGet
run: |
nuget sources add \
./vcpkg/bootstrap-vcpkg.sh
NUGET_EXE=$(./vcpkg/vcpkg fetch nuget)
mono $NUGET_EXE sources add \
-source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" \
-storepasswordincleartext \
-name "GitHub" \
-username "${{ github.repository_owner }}" \
-password "${{ secrets.GITHUB_TOKEN }}"
nuget setapikey \
mono $NUGET_EXE setapikey \
"${{ secrets.GITHUB_TOKEN }}" \
-source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json"
Expand Down

0 comments on commit 167c728

Please sign in to comment.