Skip to content

Commit dea8dd8

Browse files
Update test.yml
1 parent 88f700a commit dea8dd8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,17 @@ jobs:
1818
DOTNET_CLI_TELEMETRY_OPTOUT: true
1919
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
2020
DOTNET_INSTALL_DIR: "./.dotnet"
21+
NUGET_AUTH_TOKEN: ${{secrets.GIT_TOKEN}}
2122

2223
steps:
2324
- uses: actions/checkout@v4
25+
- run: if [ -z "${NUGET_AUTH_TOKEN}" ]; then echo "It is empty"; else echo "It is not empty" fi
2426
- name: Setup .NET
2527
uses: actions/setup-dotnet@v4
2628
with:
2729
dotnet-version: 7.x.x
2830
source-url: https://nuget.pkg.github.com/xxxx/index.json
29-
env:
30-
NUGET_AUTH_TOKEN: ${{secrets.GIT_TOKEN}}
31+
3132

3233

3334
- run: dotnet restore

0 commit comments

Comments
 (0)