Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
Add action to set user-secret in dotnet
  • Loading branch information
jakelandau authored Feb 3, 2024
1 parent cb41a4c commit 2e06f31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2e06f31

Please sign in to comment.