Skip to content

Commit

Permalink
Merge pull request #1014 from IABTechLab/tjm-UID2-4116-fix-release-bu…
Browse files Browse the repository at this point in the history
…ilds

Fix release builds for AWS Nitro docker images
  • Loading branch information
thomasm-ttd authored Sep 20, 2024
2 parents 63afd54 + a292d3f commit 82d6838
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/actions/download_release_artifact/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,16 @@ runs:
run: |
echo 'Asset URL: ${{ steps.get_asset_id.outputs.result }}'
mkdir -p ./${{ inputs.folder }}
mkdir -p ${{ inputs.folder }}
DOWNLOAD_PATH=${{ steps.get_asset_id.outputs.result }}
echo $DOWNLOAD_PATH
curl -L -H "Accept: application/octet-stream" \
-H "Authorization: Bearer ${{ inputs.github_token }}" \
-o "./${{ inputs.folder }}/${{ inputs.artifact_name }}.zip" \
-o "${{ inputs.folder }}/${{ inputs.artifact_name }}.zip" \
$DOWNLOAD_PATH
- name: Unzip artifacts
shell: bash
run: |
unzip -o -d './${{ inputs.folder }}' './${{ inputs.folder }}/${{ inputs.artifact_name }}.zip'
rm './${{ inputs.folder }}/${{ inputs.artifact_name }}.zip'
unzip -o -d '${{ inputs.folder }}' '${{ inputs.folder }}/${{ inputs.artifact_name }}.zip'
rm '${{ inputs.folder }}/${{ inputs.artifact_name }}.zip'
4 changes: 3 additions & 1 deletion .github/workflows/build-uid2-ami.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Build UID2 and EUID AMIs
run-name: Build UID2 and EUID AMIs for Operator Release ${{ inputs.operator_release }} by @${{ github.actor }}
run-name: >-
${{ inputs.operator_release == '' && format('Build UID2 and EUID AMIs for Operator Run Number: {0} by {1}', inputs.operator_run_number, github.actor) || format('Build UID2 and EUID AMIs for Operator Release: {0} by {1}', inputs.operator_release, github.actor) }}
on:
workflow_dispatch:
inputs:
Expand Down

0 comments on commit 82d6838

Please sign in to comment.