Skip to content

Commit 9ebc838

Browse files
authored
Fix environment variable usage in CI workflow
1 parent 059dd72 commit 9ebc838

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/dotnet-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ jobs:
2727
- name: Build (Debug)
2828
run: dotnet build ./src/SteamWebAPI2.sln --no-restore
2929
- name: Build (Release)
30-
if: $IS_PUSH_TAG
30+
if: env.IS_PUSH_TAG
3131
run: dotnet build ./src/SteamWebAPI2.sln -c Release --no-restore
3232
- name: Pack
33-
if: $IS_PUSH_TAG
33+
if: env.IS_PUSH_TAG
3434
run: dotnet pack ./src/SteamWebAPI2/SteamWebAPI2.csproj -c Release --no-build --output .
3535
- name: Publish
36-
if: $IS_PUSH_TAG
37-
run: dotnet nuget push "*.nupkg" -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json -n --skip-duplicate
36+
if: env.IS_PUSH_TAG
37+
run: dotnet nuget push "*.nupkg" -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json -n --skip-duplicate

0 commit comments

Comments
 (0)