From fbe7323079ea8d4e49caf079949c48b6d8f1e055 Mon Sep 17 00:00:00 2001 From: Akis Maziotis Date: Mon, 10 Apr 2023 19:14:26 +0300 Subject: [PATCH] [fix] CI Correctly identify artifact downloads We are defining the workflow directive to for `Artifacts generation and upload`/cd/Download artifacts step. To be the workflow_id from the calling workflow Signed-off-by: Akis Maziotis --- .github/workflows/artifacts.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index 3276371cd4..44b59b7548 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -23,6 +23,8 @@ jobs: - name: cd/Download artifacts uses: dawidd6/action-download-artifact@0c49384d39ceb023b8040f480a25596fd6cf441b # v2.26.0 with: + workflow: ${{ github.event.workflow_run.workflow_id }} + run_id: ${{ github.event.workflow_run.id }} workflow_conclusion: success name: server-dist-artifact path: server/dist @@ -52,6 +54,8 @@ jobs: - name: cd/Download artifacts uses: dawidd6/action-download-artifact@0c49384d39ceb023b8040f480a25596fd6cf441b # v2.26.0 with: + workflow: ${{ github.event.workflow_run.workflow_id }} + run_id: ${{ github.event.workflow_run.id }} workflow_conclusion: success name: server-build-artifact path: server/build/ @@ -86,6 +90,8 @@ jobs: - name: cd/Download artifacts uses: dawidd6/action-download-artifact@0c49384d39ceb023b8040f480a25596fd6cf441b # v2.26.0 with: + workflow: ${{ github.event.workflow_run.workflow_id }} + run_id: ${{ github.event.workflow_run.id }} workflow_conclusion: success name: server-build-artifact path: server/build/