This commit is contained in:
2025-06-30 00:58:23 -07:00
parent c7de24644f
commit 5feab19890
5 changed files with 110 additions and 5 deletions

View File

@@ -27,14 +27,11 @@ runs:
ls -al "${{ github.action_path }}"
shell: bash
- name: "Download artifacts."
uses: https://github.com/actions/github-script@v6
uses: act/common/dotnet/dotnet-10@master
env:
WORKFLOW_FILENAME: ${{ inputs.workflowPattern }}
ARTIFACT_NAME: ${{ inputs.filePattern }}
ARTIFACT_FILENAME: ${{ inputs.artifactName }}
UNZIP_DIR: ${{ inputs.unzipDir }}
with:
script: |
const script = require('${{ github.action_path }}/download-previous-artifacts.js')
await script({github, context, core})
shell: node
command: run "${{ github.action_path }}/download-previous-artifacts.cs "${{ toJSON(inputs) }}"