From 36902d32ae760aa3c413ca06189e6515bc28d79c Mon Sep 17 00:00:00 2001 From: wysiwyng <4764286+wysiwyng@users.noreply.github.com> Date: Tue, 30 Nov 2021 13:10:13 +0100 Subject: [PATCH] run benchmarks only for push to master --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c319e8bb8..ba9f8dc1a5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -182,7 +182,8 @@ jobs: matrix: run-no: [1, 2, 3, 4, 5] jit-engine: ["tcc", "gcc", "llvm"] - + + if: (github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'pull_request' needs: build runs-on: ubuntu-latest @@ -422,4 +423,4 @@ jobs: uses: geekyeggo/delete-artifact@1-glob-support with: name: "*" - useGlob: true \ No newline at end of file + useGlob: true