From c7de24644f4ef26464bb417c5de4ec6f7e0ccc76 Mon Sep 17 00:00:00 2001 From: Scion Date: Sun, 29 Jun 2025 23:57:04 -0700 Subject: [PATCH] Fix --- github/download-previous-artifacts/action.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/github/download-previous-artifacts/action.yaml b/github/download-previous-artifacts/action.yaml index 60fa3ad..3a396d4 100644 --- a/github/download-previous-artifacts/action.yaml +++ b/github/download-previous-artifacts/action.yaml @@ -25,7 +25,6 @@ runs: steps: - run: | ls -al "${{ github.action_path }}" - cp "${{ github.action_path }}/download-previous-artifact.js" "${{ github.workspace }}/__download-previous-artifact.js" shell: bash - name: "Download artifacts." uses: https://github.com/actions/github-script@v6 @@ -36,6 +35,6 @@ runs: UNZIP_DIR: ${{ inputs.unzipDir }} with: script: | - const script = require('__download-previous-artifact.js') + const script = require('${{ github.action_path }}/download-previous-artifacts.js') await script({github, context, core}) shell: node