fix: github workflow syntax for smoke-testing

[skip changelog]
This commit is contained in:
Constrat
2025-01-01 16:07:39 +01:00
parent b8254b3761
commit e39b8d3bac

View File

@@ -112,8 +112,8 @@ jobs:
run: |
pwsh tools/SmokeTesting/run_tests.ps1
- name: Save cache smoke-testing Sample.exe
if: steps.cache-exe.outputs.cache-hit != 'true' && ${{ github.ref }} == 'refs/heads/dev'
- name: Save cache smoke-testing Sample.exe (only in dev)
if: steps.cache-exe.outputs.cache-hit != 'true' && github.ref == 'refs/heads/dev'
uses: actions/cache/save@v4
with:
key: Smoke-testing-sample.exe-${{ hashFiles('src/**', 'CMakeLists.txt', '3rdparty/include/**', 'include/**', 'cmake/**', 'MAA.sln', 'MaaDeps/**') }}