Fix
This commit is contained in:
@@ -25,7 +25,6 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- run: |
|
- run: |
|
||||||
ls -al "${{ github.action_path }}"
|
ls -al "${{ github.action_path }}"
|
||||||
cp "${{ github.action_path }}/download-previous-artifact.js" "${{ github.workspace }}/__download-previous-artifact.js"
|
|
||||||
shell: bash
|
shell: bash
|
||||||
- name: "Download artifacts."
|
- name: "Download artifacts."
|
||||||
uses: https://github.com/actions/github-script@v6
|
uses: https://github.com/actions/github-script@v6
|
||||||
@@ -36,6 +35,6 @@ runs:
|
|||||||
UNZIP_DIR: ${{ inputs.unzipDir }}
|
UNZIP_DIR: ${{ inputs.unzipDir }}
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const script = require('__download-previous-artifact.js')
|
const script = require('${{ github.action_path }}/download-previous-artifacts.js')
|
||||||
await script({github, context, core})
|
await script({github, context, core})
|
||||||
shell: node
|
shell: node
|
||||||
|
|||||||
Reference in New Issue
Block a user