Skip to content

Commit

Permalink
Once more with feeling
Browse files Browse the repository at this point in the history
  • Loading branch information
oskirby committed Nov 23, 2024
1 parent 7ec061f commit d9637e0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
9 changes: 4 additions & 5 deletions .github/actions/taskcluster-artifact/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ inputs:
description: 'Taskcluster task identifier to fetch artifacts from'
required: true
type: string
artifact-name:
description: "Artifact name to download from the task"
artifact:
description: "Artifact to download from the task"
required: true
type: string
path:
Expand All @@ -29,7 +29,6 @@ runs:
shell: bash
env:
TASKGRAPH_TASK_URL: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/${{ inputs.taskid }}
TASKGRAPH_ARTIFACT: public%2Fbuild%2F${{ inputs.artifact-name }}
run: |
curl -sSL -o ${{ inputs.path }}/${{ inputs.artifact-name }} \
${TASKGRAPH_TASK_URL}/runs/${{ steps.taskgraph.outputs.run-id }}/artifacts/${TASKGRAPH_ARTIFACT}
curl -sSL -o ${{ inputs.path }}/$(basename ${{ inputs.artifact }}) \
${TASKGRAPH_TASK_URL}/runs/${{ steps.taskgraph.outputs.run-id }}/artifacts/${{ inputs.artifact }}
2 changes: 1 addition & 1 deletion .github/workflows/prod-test-suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
uses: ./.github/actions/taskcluster-artifact
with:
taskid: ${{ inputs.task-id }}
artifact-name: ${{ inputs.artifact-name }}
artifact: public/build/${{ inputs.artifact-name }}

- uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
uses: ./.github/actions/taskcluster-artifact
with:
taskid: ${{ steps.decision-task.outputs.taskid }}
artifact-name: task-graph.json
artifact: public/task-graph.json

- name: Parse taskgraph
id: artifacts
Expand Down

0 comments on commit d9637e0

Please sign in to comment.