summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorDante Niewenhuis <d.niewenhuis@hotmail.com>2026-06-15 15:16:28 +0200
committerGitHub <noreply@github.com>2026-06-15 15:16:28 +0200
commit53ce2807c0dd2a45227e2351bc634f6a53412c6a (patch)
treee2c89090a9d49af45ca002f17f60d1aa4dc1937c /.github/workflows/build.yml
parentcd5345acd7e7e15999224ac5983cc774ef1bc173 (diff)
Updated build and benchmark to only run on atlarge-research/opendc repo (#429)
* Made build and benchmark only run on atlarge-research/opendc repo * added error message to benchmark-comment.yml
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 5e9f6d54..d91c4281 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -11,6 +11,7 @@ on:
jobs:
build:
name: Build (Java ${{ matrix.java }} - ${{ matrix.os }})
+ if: github.repository == 'atlarge-research/opendc'
runs-on: ${{ matrix.os }}
strategy:
matrix:
@@ -75,6 +76,7 @@ jobs:
files: ./build/reports/jacoco/codeCoverageReport/codeCoverageReport.xml
build-docker:
name: Build Docker Images
+ if: github.repository == 'atlarge-research/opendc'
runs-on: ubuntu-22.04
steps:
- name: Checkout repository