diff options
Diffstat (limited to '.github/workflows/dotnet.yml')
-rw-r--r-- | .github/workflows/dotnet.yml | 9 |
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 |