diff --git a/.github/workflows/docfx.yml b/.github/workflows/docfx.yml index 98932ef..161901e 100644 --- a/.github/workflows/docfx.yml +++ b/.github/workflows/docfx.yml @@ -31,11 +31,15 @@ jobs: uses: actions/setup-dotnet@v3 with: dotnet-version: 8.x - source-url: https://nuget.pkg.github.com/ResoniteModdingGroup/index.json - env: - NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Add MonkeyLoader NuGet source run: dotnet nuget add source https://pkg.munally.com/MonkeyModdingTroop/index.json + - name: Add ResoniteModdingGroup NuGet source + run: | + dotnet nuget add source https://nuget.pkg.github.com/ResoniteModdingGroup/index.json \ + -n github \ + -u ${{ secrets.GHB_USER }} \ + -p ${{ secrets.GHB_TOKEN }} \ + --store-password-in-clear-text - run: dotnet tool update -g docfx - run: docfx ./docfx.json diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 7216af2..099618b 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -22,11 +22,15 @@ jobs: uses: actions/setup-dotnet@v3 with: dotnet-version: '8.x' - source-url: https://nuget.pkg.github.com/ResoniteModdingGroup/index.json - env: - NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Add MonkeyLoader NuGet source run: dotnet nuget add source https://pkg.munally.com/MonkeyModdingTroop/index.json + - name: Add ResoniteModdingGroup NuGet source + run: | + dotnet nuget add source https://nuget.pkg.github.com/ResoniteModdingGroup/index.json \ + -n github \ + -u ${{ secrets.GHB_USER }} \ + -p ${{ secrets.GHB_TOKEN }} \ + --store-password-in-clear-text - uses: actions/cache@v3 with: path: ~/.nuget/packages