From 2e06f31f186696c65a7ce3f4aab90a214cdc685c Mon Sep 17 00:00:00 2001 From: Jake Landau <5353216+jakelandau@users.noreply.github.com> Date: Sat, 3 Feb 2024 15:37:30 -0500 Subject: [PATCH] Update dotnet.yml Add action to set user-secret in dotnet --- .github/workflows/dotnet.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 1639631..8d25b90 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -22,9 +22,9 @@ jobs: dotnet-version: 8.0.x - name: Restore dependencies run: dotnet restore + - name: Interpolate API Key + run: dotnet user-secrets set "apikey" ${{ secrets.TMDBAPI }} - name: Build - env: - apikey: ${{ secrets.TMDBAPI }} run: dotnet build --no-restore - name: Test run: dotnet test --no-build --verbosity normal