We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a36db81 commit 91e7c36Copy full SHA for 91e7c36
.github/workflows/dotnet.yml
@@ -21,8 +21,15 @@ jobs:
21
dotnet-version: 6.0.x
22
- name: Restore dependencies
23
run: dotnet restore
24
- - if: ${{ secrets.NUGET_TEST_TOKEN != '' }}
25
- run: echo 'This step will only run if the secret has a value set.'
+
+ - name: Fiddeling with secrets
26
+ run: |
27
+ if [[ "${{ secrets.NUGET_TOKEN }}" != "" ]];
28
+ then
29
+ echo 'This step will only run if the secret has a value set.'
30
+ else
31
+ echo 'This step will only run if the secret is missing.'
32
+ fi
33
- name: Build
34
run: dotnet build --configuration Release --no-restore
35
- name: Test
0 commit comments