Skip to content

Commit

Permalink
REmove unnecessary source setup again
Browse files Browse the repository at this point in the history
  • Loading branch information
Banane9 committed Apr 16, 2024
1 parent 39cfed2 commit ebefca4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/docfx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ permissions:
actions: read
pages: write
id-token: write
packages: read

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
Expand All @@ -31,15 +32,11 @@ 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
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,11 @@ 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
Expand Down

0 comments on commit ebefca4

Please sign in to comment.