From 76ff9920305878609767b2cfa2c5c0ad1f9c1326 Mon Sep 17 00:00:00 2001 From: Juraj Smiesko Date: Wed, 24 Apr 2024 11:39:34 +0200 Subject: [PATCH 1/2] Running benchmarks only when pushing to master --- .github/workflows/bench.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 265ca0aac8..68df0edcdb 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -1,6 +1,9 @@ -name: benchmark +name: Benchmark -on: [push] +on: + push: + branches: + - master jobs: bench: From 11b2b677fafc8b13e4a102638755016a38f48d70 Mon Sep 17 00:00:00 2001 From: Juraj Smiesko Date: Wed, 24 Apr 2024 11:40:07 +0200 Subject: [PATCH 2/2] Updating actions --- .github/workflows/bench.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 68df0edcdb..288eabc624 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -17,8 +17,8 @@ jobs: - SETUP: '/cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh' NAME: nightly steps: - - uses: actions/checkout@v3 - - uses: cvmfs-contrib/github-action-cvmfs@v3 + - uses: actions/checkout@v4 + - uses: cvmfs-contrib/github-action-cvmfs@v4 - name: Start container run: | docker run -it --name CI_container -v ${GITHUB_WORKSPACE}:/Package -v /cvmfs:/cvmfs:shared -d ghcr.io/aidasoft/centos7:latest /bin/bash