From 03354a75478092ff4e5bc7a47cc353637dc8890b Mon Sep 17 00:00:00 2001 From: ArkadiuszMichalski <2730894+ArkadiuszMichalski@users.noreply.github.com> Date: Thu, 16 May 2024 11:01:53 +0200 Subject: [PATCH] Update CI_build.yml --- .github/workflows/CI_build.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/CI_build.yml b/.github/workflows/CI_build.yml index 5e04c98af64f..444b331fcf88 100644 --- a/.github/workflows/CI_build.yml +++ b/.github/workflows/CI_build.yml @@ -356,11 +356,8 @@ jobs: if ($Env:SCILEX_CMAKE_ALLOW_CACHE -eq "true" -and $${{ steps.cache-restore.outputs.cache-hit == 'true' }}) { $Now = Get-Date Get-ChildItem -Path ..\bin -File | ForEach-Object { $_.LastWriteTime = $Now } - nmake -f scintilla.mak DIR_O=..\bin - } - else { - nmake -f scintilla.mak } + nmake -f scintilla.mak DIR_O=..\bin Write-Output (Get-ChildItem -Path ..\bin -Recurse -File -Force -ErrorAction SilentlyContinue | Select-Object FullName) Write-Output (Get-ChildItem -Path .\ -Recurse -File -Force -ErrorAction SilentlyContinue | Select-Object FullName) exit 1 @@ -370,12 +367,9 @@ jobs: run: | if ($Env:SCILEX_CMAKE_ALLOW_CACHE -eq "true" -and $${{ steps.cache-restore.outputs.cache-hit == 'true' }}) { $Now = Get-Date - Get-ChildItem -Path ..\bin -File | ForEach-Object { $_.LastWriteTime = $Now } - nmake -f lexilla.mak DIR_O=..\bin - } - else { - nmake -f lexilla.mak + Get-ChildItem -Path ..\bin -File | ForEach-Object { $_.LastWriteTime = $Now } } + nmake -f lexilla.mak DIR_O=..\bin - name: (cache) Save SciLex files if: env.SCILEX_CMAKE_ALLOW_CACHE == 'true' && steps.cache-restore.outputs.cache-hit != 'true' && github.event_name == 'push'