From 1925874ff21a8abf034c17f79eea2d819c14a161 Mon Sep 17 00:00:00 2001 From: Robbie Heywood Date: Sun, 12 Feb 2023 21:35:15 +0000 Subject: [PATCH 01/11] Add testing --- .github/workflows/download.yml | 21 +++++++++++++++++++++ .github/workflows/upload.yml | 20 ++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/.github/workflows/download.yml b/.github/workflows/download.yml index 20d7a27b..a14bf06a 100644 --- a/.github/workflows/download.yml +++ b/.github/workflows/download.yml @@ -140,3 +140,24 @@ jobs: dry_run: true - name: Test run: test ${{ steps.download.outputs.dry_run }} == false + download-many: + runs-on: ubuntu-latest + strategy: + # Use a matrix to run this job 40 times with 40 different artifacts. This catches any pagination issues (as GH's + # default page size is 30) + matrix: + run-number: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30 ] + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup outputs + id: setup + run: echo "artifact-name=${{ format('artifact{0}', matrix.run-number) }}" >> $GITHUB_OUTPUT + - name: Download + uses: ./ + with: + workflow: upload.yml + name: ${{ steps.setup.outputs.artifact-name }} + path: ${{ steps.setup.outputs.artifact-name }} + - name: Test + run: cat ${{ steps.setup.outputs.artifact-name }}/sha | grep $GITHUB_SHA diff --git a/.github/workflows/upload.yml b/.github/workflows/upload.yml index f8183ccf..3c3b9e28 100644 --- a/.github/workflows/upload.yml +++ b/.github/workflows/upload.yml @@ -37,3 +37,23 @@ jobs: with: name: artifact2 path: artifact2 + upload-many: + runs-on: ubuntu-latest + strategy: + matrix: + # Use a matrix to run this job 40 times with 40 different artifacts. This catches any pagination issues (as GH's + # default page size is 30) + run-number: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40 ] + steps: + - name: Setup outputs + id: setup + run: echo "artifact-name=${{ format('artifact{0}', matrix.run-number) }}" >> $GITHUB_OUTPUT + - name: Dump + run: | + mkdir ${{ steps.setup.outputs.artifact-name }} + echo $GITHUB_SHA > ${{ steps.setup.outputs.artifact-name }}/sha + - name: Upload + uses: actions/upload-artifact@v3 + with: + name: ${{ steps.setup.outputs.artifact-name }} + path: ${{ steps.setup.outputs.artifact-name }} \ No newline at end of file From 7a8aa58c5e72a0dae15f5f69ab92d7d76a5c13db Mon Sep 17 00:00:00 2001 From: Robbie Heywood Date: Sun, 12 Feb 2023 21:41:59 +0000 Subject: [PATCH 02/11] Small update --- .github/workflows/download.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/download.yml b/.github/workflows/download.yml index a14bf06a..fbd0f061 100644 --- a/.github/workflows/download.yml +++ b/.github/workflows/download.yml @@ -146,7 +146,7 @@ jobs: # Use a matrix to run this job 40 times with 40 different artifacts. This catches any pagination issues (as GH's # default page size is 30) matrix: - run-number: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30 ] + run-number: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40 ] steps: - name: Checkout uses: actions/checkout@v3 From 4269bb8a931785ecde53809d347da3ade20bd2ec Mon Sep 17 00:00:00 2001 From: Robbie Heywood Date: Sun, 12 Feb 2023 21:54:11 +0000 Subject: [PATCH 03/11] Re-add fix --- .github/workflows/download.yml | 45 ++++++++++++++++++++++++++++++++-- .github/workflows/upload.yml | 5 ++-- main.js | 2 +- 3 files changed, 46 insertions(+), 6 deletions(-) diff --git a/.github/workflows/download.yml b/.github/workflows/download.yml index fbd0f061..9937391d 100644 --- a/.github/workflows/download.yml +++ b/.github/workflows/download.yml @@ -143,8 +143,7 @@ jobs: download-many: runs-on: ubuntu-latest strategy: - # Use a matrix to run this job 40 times with 40 different artifacts. This catches any pagination issues (as GH's - # default page size is 30) + # Use a matrix to run this job 40 times with 40 different artifacts. This catches any pagination issues (as GH's default page size is 30) matrix: run-number: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40 ] steps: @@ -161,3 +160,45 @@ jobs: path: ${{ steps.setup.outputs.artifact-name }} - name: Test run: cat ${{ steps.setup.outputs.artifact-name }}/sha | grep $GITHUB_SHA + download-many-check-artifacts: + runs-on: ubuntu-latest + strategy: + # Use a matrix to run this job 40 times with 40 different artifacts. This catches any pagination issues (as GH's default page size is 30) + matrix: + run-number: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40 ] + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup outputs + id: setup + run: echo "artifact-name=${{ format('artifact{0}', matrix.run-number) }}" >> $GITHUB_OUTPUT + - name: Download + uses: ./ + with: + workflow: upload.yml + name: ${{ steps.setup.outputs.artifact-name }} + path: ${{ steps.setup.outputs.artifact-name }} + check_artifacts: true + - name: Test + run: cat ${{ steps.setup.outputs.artifact-name }}/sha | grep $GITHUB_SHA + download-many-search-artifacts: + runs-on: ubuntu-latest + strategy: + # Use a matrix to run this job 40 times with 40 different artifacts. This catches any pagination issues (as GH's default page size is 30) + matrix: + run-number: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40 ] + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup outputs + id: setup + run: echo "artifact-name=${{ format('artifact{0}', matrix.run-number) }}" >> $GITHUB_OUTPUT + - name: Download + uses: ./ + with: + workflow: upload.yml + name: ${{ steps.setup.outputs.artifact-name }} + path: ${{ steps.setup.outputs.artifact-name }} + search_artifacts: true + - name: Test + run: cat ${{ steps.setup.outputs.artifact-name }}/sha | grep $GITHUB_SHA diff --git a/.github/workflows/upload.yml b/.github/workflows/upload.yml index 3c3b9e28..498d2847 100644 --- a/.github/workflows/upload.yml +++ b/.github/workflows/upload.yml @@ -41,8 +41,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - # Use a matrix to run this job 40 times with 40 different artifacts. This catches any pagination issues (as GH's - # default page size is 30) + # Use a matrix to run this job 40 times with 40 different artifacts. This catches any pagination issues (as GH's default page size is 30) run-number: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40 ] steps: - name: Setup outputs @@ -56,4 +55,4 @@ jobs: uses: actions/upload-artifact@v3 with: name: ${{ steps.setup.outputs.artifact-name }} - path: ${{ steps.setup.outputs.artifact-name }} \ No newline at end of file + path: ${{ steps.setup.outputs.artifact-name }} diff --git a/main.js b/main.js index a14c8903..216af680 100644 --- a/main.js +++ b/main.js @@ -122,7 +122,7 @@ async function main() { continue } if (checkArtifacts || searchArtifacts) { - let artifacts = await client.rest.actions.listWorkflowRunArtifacts({ + let artifacts = await client.paginate(client.rest.actions.listWorkflowRunArtifacts, { owner: owner, repo: repo, run_id: run.id, From e769fd8bcef404f7814370178c61d8a56bf42b5f Mon Sep 17 00:00:00 2001 From: Robbie Heywood Date: Sun, 12 Feb 2023 21:57:40 +0000 Subject: [PATCH 04/11] Fix CI --- .github/workflows/download.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/download.yml b/.github/workflows/download.yml index 9937391d..c4c16e68 100644 --- a/.github/workflows/download.yml +++ b/.github/workflows/download.yml @@ -142,6 +142,7 @@ jobs: run: test ${{ steps.download.outputs.dry_run }} == false download-many: runs-on: ubuntu-latest + needs: wait strategy: # Use a matrix to run this job 40 times with 40 different artifacts. This catches any pagination issues (as GH's default page size is 30) matrix: @@ -162,6 +163,7 @@ jobs: run: cat ${{ steps.setup.outputs.artifact-name }}/sha | grep $GITHUB_SHA download-many-check-artifacts: runs-on: ubuntu-latest + needs: wait strategy: # Use a matrix to run this job 40 times with 40 different artifacts. This catches any pagination issues (as GH's default page size is 30) matrix: @@ -183,6 +185,7 @@ jobs: run: cat ${{ steps.setup.outputs.artifact-name }}/sha | grep $GITHUB_SHA download-many-search-artifacts: runs-on: ubuntu-latest + needs: wait strategy: # Use a matrix to run this job 40 times with 40 different artifacts. This catches any pagination issues (as GH's default page size is 30) matrix: From bdc4de2558a92f0d3828f601e6f956a4709c54dd Mon Sep 17 00:00:00 2001 From: Robbie Heywood Date: Sun, 12 Feb 2023 22:15:17 +0000 Subject: [PATCH 05/11] Attempt fix --- main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index 216af680..5fb10f0a 100644 --- a/main.js +++ b/main.js @@ -127,7 +127,8 @@ async function main() { repo: repo, run_id: run.id, }) - if (artifacts.data.artifacts.length == 0) { + core.info(`==> (found) Artifacts: ${artifacts} for run ID: ${run.id}`) + if (!artifacts || artifacts.data.artifacts.length == 0) { continue } if (searchArtifacts) { From dd1c10d9d6f46bf9a2a62672ef15bd93200297e8 Mon Sep 17 00:00:00 2001 From: Robbie Heywood Date: Sun, 12 Feb 2023 22:24:11 +0000 Subject: [PATCH 06/11] Add some debug logging --- main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index 5fb10f0a..0ed1b73f 100644 --- a/main.js +++ b/main.js @@ -112,6 +112,7 @@ async function main() { } )) { for (const run of runs.data) { + core.info(`==> (Starting loop run)`) if (commit && run.head_sha != commit) { continue } @@ -128,7 +129,7 @@ async function main() { run_id: run.id, }) core.info(`==> (found) Artifacts: ${artifacts} for run ID: ${run.id}`) - if (!artifacts || artifacts.data.artifacts.length == 0) { + if (!artifacts.data.artifacts || artifacts.data.artifacts.length == 0) { continue } if (searchArtifacts) { From 8ba9d19cbb379bc2465a993d3c8b29bd78f3400a Mon Sep 17 00:00:00 2001 From: Robbie Heywood Date: Sun, 12 Feb 2023 22:32:07 +0000 Subject: [PATCH 07/11] Reduce amount of testing so I don't hit API rate limits --- .github/workflows/download.yml | 43 ---------------------------------- main.js | 2 ++ 2 files changed, 2 insertions(+), 43 deletions(-) diff --git a/.github/workflows/download.yml b/.github/workflows/download.yml index c4c16e68..a2e4c5a7 100644 --- a/.github/workflows/download.yml +++ b/.github/workflows/download.yml @@ -140,49 +140,6 @@ jobs: dry_run: true - name: Test run: test ${{ steps.download.outputs.dry_run }} == false - download-many: - runs-on: ubuntu-latest - needs: wait - strategy: - # Use a matrix to run this job 40 times with 40 different artifacts. This catches any pagination issues (as GH's default page size is 30) - matrix: - run-number: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40 ] - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Setup outputs - id: setup - run: echo "artifact-name=${{ format('artifact{0}', matrix.run-number) }}" >> $GITHUB_OUTPUT - - name: Download - uses: ./ - with: - workflow: upload.yml - name: ${{ steps.setup.outputs.artifact-name }} - path: ${{ steps.setup.outputs.artifact-name }} - - name: Test - run: cat ${{ steps.setup.outputs.artifact-name }}/sha | grep $GITHUB_SHA - download-many-check-artifacts: - runs-on: ubuntu-latest - needs: wait - strategy: - # Use a matrix to run this job 40 times with 40 different artifacts. This catches any pagination issues (as GH's default page size is 30) - matrix: - run-number: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40 ] - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Setup outputs - id: setup - run: echo "artifact-name=${{ format('artifact{0}', matrix.run-number) }}" >> $GITHUB_OUTPUT - - name: Download - uses: ./ - with: - workflow: upload.yml - name: ${{ steps.setup.outputs.artifact-name }} - path: ${{ steps.setup.outputs.artifact-name }} - check_artifacts: true - - name: Test - run: cat ${{ steps.setup.outputs.artifact-name }}/sha | grep $GITHUB_SHA download-many-search-artifacts: runs-on: ubuntu-latest needs: wait diff --git a/main.js b/main.js index 0ed1b73f..5976a9f4 100644 --- a/main.js +++ b/main.js @@ -133,10 +133,12 @@ async function main() { continue } if (searchArtifacts) { + core.info(`==> (found) Searching for artifacts`) const artifact = artifacts.data.artifacts.find((artifact) => { return artifact.name == name }) if (!artifact) { + core.info(`==> Didn't find artifact - contuing`) continue } } From e393d88b32a05a258d97978d9d18644fd87303b3 Mon Sep 17 00:00:00 2001 From: Robbie Heywood Date: Sun, 12 Feb 2023 23:17:34 +0000 Subject: [PATCH 08/11] Try fix --- main.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index 5976a9f4..e3a130a8 100644 --- a/main.js +++ b/main.js @@ -129,18 +129,22 @@ async function main() { run_id: run.id, }) core.info(`==> (found) Artifacts: ${artifacts} for run ID: ${run.id}`) - if (!artifacts.data.artifacts || artifacts.data.artifacts.length == 0) { + core.info(`==> Test 1: ${artifacts}`) + core.info(`==> Test 2: ${artifacts.length == 0}`) + if (!artifacts || artifacts.length == 0) { continue } + core.info(`==> Test 3: We found artifacts`) if (searchArtifacts) { core.info(`==> (found) Searching for artifacts`) - const artifact = artifacts.data.artifacts.find((artifact) => { + const artifact = artifacts.find((artifact) => { return artifact.name == name }) if (!artifact) { core.info(`==> Didn't find artifact - contuing`) continue } + core.info(`==> Test 4: Found artifact - continuing`) } } runID = run.id From e57365f2abe6d3868c6b925b146e8702bdf2d0ae Mon Sep 17 00:00:00 2001 From: Robbie Heywood Date: Sun, 12 Feb 2023 23:50:49 +0000 Subject: [PATCH 09/11] Tidy up --- main.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/main.js b/main.js index e3a130a8..8689ecd2 100644 --- a/main.js +++ b/main.js @@ -112,7 +112,6 @@ async function main() { } )) { for (const run of runs.data) { - core.info(`==> (Starting loop run)`) if (commit && run.head_sha != commit) { continue } @@ -128,23 +127,16 @@ async function main() { repo: repo, run_id: run.id, }) - core.info(`==> (found) Artifacts: ${artifacts} for run ID: ${run.id}`) - core.info(`==> Test 1: ${artifacts}`) - core.info(`==> Test 2: ${artifacts.length == 0}`) if (!artifacts || artifacts.length == 0) { continue } - core.info(`==> Test 3: We found artifacts`) if (searchArtifacts) { - core.info(`==> (found) Searching for artifacts`) const artifact = artifacts.find((artifact) => { return artifact.name == name }) if (!artifact) { - core.info(`==> Didn't find artifact - contuing`) continue } - core.info(`==> Test 4: Found artifact - continuing`) } } runID = run.id From e96f29bd93041595ca6ee57b74bee8cab002250a Mon Sep 17 00:00:00 2001 From: Robbie Heywood Date: Sun, 12 Feb 2023 23:57:36 +0000 Subject: [PATCH 10/11] Add a couple of extra tests --- .github/workflows/download.yml | 32 +++++++++++++++++++++++++++++++- .github/workflows/upload.yml | 2 +- 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/.github/workflows/download.yml b/.github/workflows/download.yml index a2e4c5a7..38074922 100644 --- a/.github/workflows/download.yml +++ b/.github/workflows/download.yml @@ -140,11 +140,41 @@ jobs: dry_run: true - name: Test run: test ${{ steps.download.outputs.dry_run }} == false + download-with-check-artifacts: + runs-on: ubuntu-latest + needs: wait + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Download + uses: ./ + with: + workflow: upload.yml + name: artifact + path: artifact + check_artifacts: true + - name: Test + run: cat artifact/sha | grep $GITHUB_SHA + download-with-search-artifacts: + runs-on: ubuntu-latest + needs: wait + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Download + uses: ./ + with: + workflow: upload.yml + name: artifact + path: artifact + search_artifacts: true + - name: Test + run: cat artifact/sha | grep $GITHUB_SHA download-many-search-artifacts: runs-on: ubuntu-latest needs: wait strategy: - # Use a matrix to run this job 40 times with 40 different artifacts. This catches any pagination issues (as GH's default page size is 30) + # Use a matrix to run this job 40 times with 40 different artifacts. This catches any pagination issues (as GitHub's default page size is 30) matrix: run-number: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40 ] steps: diff --git a/.github/workflows/upload.yml b/.github/workflows/upload.yml index 498d2847..198fc252 100644 --- a/.github/workflows/upload.yml +++ b/.github/workflows/upload.yml @@ -41,7 +41,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - # Use a matrix to run this job 40 times with 40 different artifacts. This catches any pagination issues (as GH's default page size is 30) + # Use a matrix to run this job 40 times with 40 different artifacts. This catches any pagination issues (as GitHub's default page size is 30) run-number: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40 ] steps: - name: Setup outputs From 1aaed070a7cf981c4df7eb1c92b94265b54cb8a3 Mon Sep 17 00:00:00 2001 From: Robbie Heywood Date: Mon, 13 Feb 2023 14:55:53 +0000 Subject: [PATCH 11/11] Remove test --- .github/workflows/download.yml | 22 ---------------------- .github/workflows/upload.yml | 19 ------------------- 2 files changed, 41 deletions(-) diff --git a/.github/workflows/download.yml b/.github/workflows/download.yml index 38074922..4e2cd467 100644 --- a/.github/workflows/download.yml +++ b/.github/workflows/download.yml @@ -170,25 +170,3 @@ jobs: search_artifacts: true - name: Test run: cat artifact/sha | grep $GITHUB_SHA - download-many-search-artifacts: - runs-on: ubuntu-latest - needs: wait - strategy: - # Use a matrix to run this job 40 times with 40 different artifacts. This catches any pagination issues (as GitHub's default page size is 30) - matrix: - run-number: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40 ] - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Setup outputs - id: setup - run: echo "artifact-name=${{ format('artifact{0}', matrix.run-number) }}" >> $GITHUB_OUTPUT - - name: Download - uses: ./ - with: - workflow: upload.yml - name: ${{ steps.setup.outputs.artifact-name }} - path: ${{ steps.setup.outputs.artifact-name }} - search_artifacts: true - - name: Test - run: cat ${{ steps.setup.outputs.artifact-name }}/sha | grep $GITHUB_SHA diff --git a/.github/workflows/upload.yml b/.github/workflows/upload.yml index 198fc252..f8183ccf 100644 --- a/.github/workflows/upload.yml +++ b/.github/workflows/upload.yml @@ -37,22 +37,3 @@ jobs: with: name: artifact2 path: artifact2 - upload-many: - runs-on: ubuntu-latest - strategy: - matrix: - # Use a matrix to run this job 40 times with 40 different artifacts. This catches any pagination issues (as GitHub's default page size is 30) - run-number: [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40 ] - steps: - - name: Setup outputs - id: setup - run: echo "artifact-name=${{ format('artifact{0}', matrix.run-number) }}" >> $GITHUB_OUTPUT - - name: Dump - run: | - mkdir ${{ steps.setup.outputs.artifact-name }} - echo $GITHUB_SHA > ${{ steps.setup.outputs.artifact-name }}/sha - - name: Upload - uses: actions/upload-artifact@v3 - with: - name: ${{ steps.setup.outputs.artifact-name }} - path: ${{ steps.setup.outputs.artifact-name }}