From e39b8d3bacd704fcd4473665c85ee3ac8e11c079 Mon Sep 17 00:00:00 2001 From: Constrat <56174894+Constrat@users.noreply.github.com> Date: Wed, 1 Jan 2025 16:07:39 +0100 Subject: [PATCH] fix: github workflow syntax for smoke-testing [skip changelog] --- .github/workflows/smoke-testing.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/smoke-testing.yml b/.github/workflows/smoke-testing.yml index 0eae1133b2..45cb977a51 100644 --- a/.github/workflows/smoke-testing.yml +++ b/.github/workflows/smoke-testing.yml @@ -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/**') }}