From 2f7be743380662e3aa3c1bf615b77df999954b21 Mon Sep 17 00:00:00 2001 From: SaqlainSentry <153200552+SaqlainSentry@users.noreply.github.com> Date: Thu, 16 May 2024 16:25:03 +0200 Subject: [PATCH] Updated sanity-check workflow --- .github/workflows/sanity-check.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/sanity-check.yml b/.github/workflows/sanity-check.yml index 58a64455a..f657bae23 100644 --- a/.github/workflows/sanity-check.yml +++ b/.github/workflows/sanity-check.yml @@ -1,13 +1,19 @@ name: Sanity Checks on: - workflow_dispatch: + workflow_run: + workflows: Build + types: completed jobs: sanity-debian: runs-on: ubuntu-latest + if: ${{ github.event.workflow_run.conclusion == 'success' }} name: Performs sanity test on MetricsHub archive on Debian steps: - - uses: actions/checkout@v4 - - id: foo - uses: ChristopheClermont/metricshub-sanity-action@main + - name: Download artifacts + uses: actions/download-artifact@v4 + with: + name: build-output + path: ./build_output + - uses: ChristopheClermont/metricshub-sanity-action@main