Skip to content

Commit 0bc0e95

Browse files
committed
Switch back to RUNNER_WORKSPACE.
1 parent c6b1b2b commit 0bc0e95

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/daily.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,28 +81,28 @@ jobs:
8181
- name: Clone repositories
8282
shell: cmd
8383
run: |
84-
cd %HOME%\ImageMagick-Windows
84+
cd %RUNNER_WORKSPACE%\ImageMagick-Windows
8585
CloneRepositories.cmd https://github.com/ImageMagick shallow
8686
8787
- name: Build configure
8888
shell: cmd
8989
run: |
9090
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat"
91-
cd %HOME%\ImageMagick-Windows\VisualMagick\configure
91+
cd %RUNNER_WORKSPACE%\ImageMagick-Windows\VisualMagick\configure
9292
devenv /upgrade configure.vcxproj
9393
msbuild configure.sln /m /t:Rebuild /p:Configuration=Release,Platform=Win32
9494
9595
- name: Configure ImageMagick
9696
shell: cmd
9797
run: |
98-
cd %HOME%\ImageMagick-Windows\VisualMagick\configure
98+
cd %RUNNER_WORKSPACE%\ImageMagick-Windows\VisualMagick\configure
9999
configure.exe /noWizard /VS2019 /${{matrix.platform}} /${{matrix.buildType}}
100100
101101
- name: Build ImageMagick
102102
shell: cmd
103103
run: |
104104
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat"
105-
cd %HOME%\ImageMagick-Windows\VisualMagick
105+
cd %RUNNER_WORKSPACE%\ImageMagick-Windows\VisualMagick
106106
dir /B *.sln > solution
107107
set /p solution=<solution
108108
msbuild %solution% /m /t:Rebuild /p:Configuration=Release,Platform=${{matrix.platform}}

.github/workflows/master.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,26 +84,26 @@ jobs:
8484
- name: Clone repositories
8585
shell: cmd
8686
run: |
87-
cd %HOME%\ImageMagick-Windows
87+
cd %RUNNER_WORKSPACE%\ImageMagick-Windows
8888
CloneRepositories.cmd https://github.com/ImageMagick shallow
8989
9090
- name: Build configure
9191
shell: cmd
9292
run: |
9393
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat"
94-
cd %HOME%\ImageMagick-Windows\VisualMagick\configure
94+
cd %RUNNER_WORKSPACE%\ImageMagick-Windows\VisualMagick\configure
9595
devenv /upgrade configure.vcxproj
9696
msbuild configure.sln /m /t:Rebuild /p:Configuration=Release,Platform=Win32
9797
9898
- name: Configure ImageMagick
9999
shell: cmd
100100
run: |
101-
cd %HOME%\ImageMagick-Windows\VisualMagick\configure
101+
cd %RUNNER_WORKSPACE%\ImageMagick-Windows\VisualMagick\configure
102102
configure.exe /noWizard /VS2019 /x64 /smtd
103103
104104
- name: Build ImageMagick
105105
shell: cmd
106106
run: |
107107
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat"
108-
cd %HOME%\ImageMagick-Windows\VisualMagick
108+
cd %RUNNER_WORKSPACE%\ImageMagick-Windows\VisualMagick
109109
msbuild VisualStaticMTD.sln /m /t:Rebuild /p:Configuration=Release,Platform=x64

0 commit comments

Comments
 (0)