Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aparnajyothi-y authored Dec 8, 2023
1 parent 88f700a commit dea8dd8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,17 @@ jobs:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_INSTALL_DIR: "./.dotnet"
NUGET_AUTH_TOKEN: ${{secrets.GIT_TOKEN}}

steps:
- uses: actions/checkout@v4
- run: if [ -z "${NUGET_AUTH_TOKEN}" ]; then echo "It is empty"; else echo "It is not empty" fi
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.x.x
source-url: https://nuget.pkg.github.com/xxxx/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.GIT_TOKEN}}



- run: dotnet restore
Expand Down

0 comments on commit dea8dd8

Please sign in to comment.