Skip to content

Commit

Permalink
Update workflows again
Browse files Browse the repository at this point in the history
  • Loading branch information
Banane9 committed Apr 16, 2024
1 parent 3beb30d commit 39cfed2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/docfx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 39cfed2

Please sign in to comment.