1name: Download TD Artifacts 2 3description: Download artifacts from target_determination.yml 4 5inputs: 6 use-gha: 7 description: If set to any value, use GHA to download the artifact. Otherwise use s3. 8 required: false 9 10runs: 11 using: composite 12 steps: 13 - name: Download TD Artifacts from S3 14 if: ${{ !inputs.use-gha }} 15 uses: seemethere/download-artifact-s3@v4 16 with: 17 name: td_results 18 19 - name: Download TD Artifacts from GHA 20 if: inputs.use-gha 21 uses: actions/download-artifact@v3 22 with: 23 name: td_results.json 24 25 - name: Move artifacts to .additional_ci_files folder 26 shell: bash 27 run: | 28 mkdir -p .additional_ci_files 29 mv td_results.json .additional_ci_files/td_results.json 30