Skip to content

Commit

Permalink
Remove ./ from download path for artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasm-ttd committed Sep 20, 2024
1 parent 63afd54 commit 7596945
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build_ami/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ runs:
uses: actions/checkout@v4

- name: Get EIF for Release ${{ inputs.operator_release }}
uses: IABTechLab/uid2-operator/.github/actions/download_release_artifact@main
uses: IABTechLab/uid2-operator/.github/actions/download_release_artifact@tjm-UID2-4116-fix-release-builds
if: ${{ inputs.operator_release != '' }}
with:
github_token: ${{ inputs.github_token }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/build_eks_docker_image/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ runs:
mkdir ${{ inputs.artifacts_output_dir }} -p
- name: Get EIF for Release ${{ inputs.operator_release }}
uses: IABTechLab/uid2-operator/.github/actions/download_release_artifact@main
uses: IABTechLab/uid2-operator/.github/actions/download_release_artifact@tjm-UID2-4116-fix-release-builds
if: ${{ inputs.operator_release != '' }}
with:
github_token: ${{ inputs.github_token }}
Expand Down
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: 2 additions & 2 deletions .github/workflows/build-uid2-ami.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

- name: Build UID2 Operator AMI
id: buildAMI
uses: IABTechLab/uid2-operator/.github/actions/build_ami@main
uses: IABTechLab/uid2-operator/.github/actions/build_ami@tjm-UID2-4116-fix-release-builds
with:
identity_scope: uid2
eif_repo_owner: ${{ env.REPO_OWNER }}
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
- name: Build EUID Operator AMI
id: buildAMI
uses: IABTechLab/uid2-operator/.github/actions/build_ami@main
uses: IABTechLab/uid2-operator/.github/actions/build_ami@tjm-UID2-4116-fix-release-builds
with:
identity_scope: euid
eif_repo_owner: ${{ env.REPO_OWNER }}
Expand Down

0 comments on commit 7596945

Please sign in to comment.