aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/dotnet.yml
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2024-08-06 16:09:19 -0500
committerMatt Strapp <matt@mattstrapp.net>2024-08-06 16:21:41 -0500
commite7749461bfa5abc00b946f844a85b25b6c12ec85 (patch)
tree254f2c17d0d231b8512a6016665a3a89ce477b80 /.github/workflows/dotnet.yml
parentUnleash the locust CI (diff)
downloadlocusts-e7749461bfa5abc00b946f844a85b25b6c12ec85.tar
locusts-e7749461bfa5abc00b946f844a85b25b6c12ec85.tar.gz
locusts-e7749461bfa5abc00b946f844a85b25b6c12ec85.tar.bz2
locusts-e7749461bfa5abc00b946f844a85b25b6c12ec85.tar.lz
locusts-e7749461bfa5abc00b946f844a85b25b6c12ec85.tar.xz
locusts-e7749461bfa5abc00b946f844a85b25b6c12ec85.tar.zst
locusts-e7749461bfa5abc00b946f844a85b25b6c12ec85.zip
Attempt to fix
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '.github/workflows/dotnet.yml')
-rw-r--r--.github/workflows/dotnet.yml9
1 files changed, 3 insertions, 6 deletions
diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml
index 46ebf77..44571ad 100644
--- a/.github/workflows/dotnet.yml
+++ b/.github/workflows/dotnet.yml
@@ -25,8 +25,6 @@ jobs:
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
- with:
- cache: true
- name: Install dependencies
run: dotnet restore
- name: Test
@@ -48,9 +46,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
source-url: https://nuget.pkg.github.com/locusts-r-us/index.json
- cache: true
env:
- NUGET_API_KEY: ${{ secrets.GITHUB_TOKEN }}
+ NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: dotnet restore
- name: Build the package
@@ -69,6 +66,8 @@ jobs:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v4
+ env:
+ NUGET_AUTH_TOKEN: ${{ secrets.NUGET_KEY }}
- name: Install dependencies
run: dotnet restore
- name: Build the package
@@ -76,5 +75,3 @@ jobs:
- name: Publish the package
run: |
dotnet nuget push src/bin/Release/*.nupkg -s https://api.nuget.org/v3/index.json
- env:
- NUGET_API_KEY: ${{ secrets.NUGET_KEY }} \ No newline at end of file