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/**') }}