Skip to content

Commit f216233

Browse files
authored
release-windows.yml: fixed collecting files [skip ci] (#6915)
1 parent ee747ad commit f216233

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

.github/workflows/release-windows.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -104,15 +104,9 @@ jobs:
104104
105105
- name: Collect files
106106
run: |
107+
@echo on
107108
move build\bin\Release win_installer\files || exit /b !errorlevel!
108-
mkdir win_installer\files\addons || exit /b !errorlevel!
109-
copy addons\*.* win_installer\files\addons || exit /b !errorlevel!
110109
copy addons\dist\misra\*.* win_installer\files\addons || exit /b !errorlevel!
111-
mkdir win_installer\files\cfg || exit /b !errorlevel!
112-
copy cfg\*.cfg win_installer\files\cfg || exit /b !errorlevel!
113-
:: "platforms" is a folder used by Qt as well so it already exists
114-
:: mkdir win_installer\files\platforms || exit /b !errorlevel!
115-
copy platforms\*.xml win_installer\files\platforms || exit /b !errorlevel!
116110
copy bin\cppcheck.exe win_installer\files || exit /b !errorlevel!
117111
copy bin\cppcheck-core.dll win_installer\files || exit /b !errorlevel!
118112
mkdir win_installer\files\help || exit /b !errorlevel!
@@ -129,7 +123,7 @@ jobs:
129123
for /f "tokens=4 delims= " %%a in ('find "ProductVersion" productInfo.wxi') do set PRODUCTVER=%%a
130124
REM Remove double quotes
131125
set PRODUCTVER=%PRODUCTVER:"=%
132-
echo ProductVersion="%PRODUCTVER%" || exit /b !errorlevel!
126+
@echo ProductVersion="%PRODUCTVER%" || exit /b !errorlevel!
133127
msbuild -m cppcheck.wixproj -p:Platform=x64,ProductVersion=%PRODUCTVER%.${{ github.run_number }} || exit /b !errorlevel!
134128
135129
- uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)