Skip to content

Commit 255af10

Browse files
authored
Update build.yml
use github context vars instead of env vars
1 parent 8fa0ac2 commit 255af10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,11 @@ jobs:
9292
uses: microsoft/setup-msbuild@v1
9393

9494
- name: Restore NuGet packages
95-
working-directory: ${{env.GITHUB_WORKSPACE}}
95+
working-directory: ${{github.workspace}}
9696
run: nuget restore ${{env.SOLUTION_FILE_PATH}}
9797

9898
- name: Build
99-
working-directory: ${{env.GITHUB_WORKSPACE}}
99+
working-directory: ${{github.workspace}}
100100
# Add additional options to the MSBuild command line here (like platform or verbosity level).
101101
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
102102
run: |
@@ -127,7 +127,7 @@ jobs:
127127
# see https://github.com/pyTooling/Actions/tree/main/releaser
128128
uses: pyTooling/Actions/releaser@main
129129
with:
130-
tag: ${{ env.GITHUB_REF_NAME }}
130+
tag: ${{ github.ref_name }}
131131
rm: true
132132
token: ${{ secrets.GITHUB_TOKEN }}
133133
files: QuickLook.Plugin.WebViewPlus.qlplugin

0 commit comments

Comments
 (0)