From e32b4174a088479371a7de31324ca242f50411ca Mon Sep 17 00:00:00 2001 From: Ugo Bechameil Date: Wed, 20 Sep 2023 11:52:44 +0200 Subject: [PATCH] Use another download action --- .../workflows/macos-intel-build-prebuilds.yml | 20 ++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/.github/workflows/macos-intel-build-prebuilds.yml b/.github/workflows/macos-intel-build-prebuilds.yml index 999104a..463824e 100644 --- a/.github/workflows/macos-intel-build-prebuilds.yml +++ b/.github/workflows/macos-intel-build-prebuilds.yml @@ -16,11 +16,25 @@ jobs: with: cache: npm node-version: 18 - - name: Download list of modules to rebuild for Electron - uses: actions/download-artifact@v3 + - name: Download artifact + id: download-artifact + uses: dawidd6/action-download-artifact@v2 with: + # Optional, GitHub token, a Personal Access Token with `public_repo` scope if needed + # Required, if the artifact is from a different repo + # Required, if the repo is private a Personal Access Token with `repo` scope is needed or GitHub token in a job where the permissions `action` scope set to `read` + github_token: ${{secrets.GITHUB_TOKEN}} + # Optional, workflow file name or ID + # If not specified, will be inferred from run_id (if run_id is specified), or will be the current workflow + workflow: discover-and-prepare-upstream-native-modules.yml + # Optional, the status or conclusion of a completed workflow to search for + # Can be one of a workflow conclusion: + # "failure", "success", "neutral", "cancelled", "skipped", "timed_out", "action_required" + # Or a workflow status: + # "completed", "in_progress", "queued" + # Use the empty string ("") to ignore status or conclusion in the search + workflow_conclusion: success name: modulesToBuildForElectron - # Openssl3 and krb5 are already installed on Github host Mac OS runners - name: Install toolkit run: npm install