Skip to content

Commit

Permalink
fix(cliui): Download correct artifact (#3134)
Browse files Browse the repository at this point in the history
This was missed on the previous fix. It now references the correct
artifact name now that this is back to running as part of the build
workflow.

Blame: 181f0f1
  • Loading branch information
tmessi committed Mar 30, 2023
1 parent 6fdb78b commit 3d9dbd3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -407,5 +407,5 @@ jobs:
- set-product-version
- build-linux
with:
product-version: ${{ needs.set-product-version.outputs.product-version }}
artifact-name: "boundary_${{ needs.set-product-version.outputs.product-version }}_linux_amd64.zip"
secrets: inherit
12 changes: 5 additions & 7 deletions .github/workflows/test-cli-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: test-cli-ui
on:
workflow_call:
inputs:
product-version:
artifact-name:
type: string
required: true

Expand Down Expand Up @@ -73,16 +73,14 @@ jobs:
run: |
unzip /tmp/bats-cli-ui-deps/vault.zip -d /usr/local/bin
- name: Download Linux AMD64 Boundary bundle
uses: dawidd6/action-download-artifact@5e780fc7bbd0cac69fc73271ed86edf5dcb72d67 # v2.26.0
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
with:
workflow: build.yml
commit: ${{ github.event.workflow_run.head_sha }}
name: boundary_${{ inputs.product-version }}_linux_amd64.zip
name: ${{ inputs.artifact-name }}
path: /tmp
- name: Unpack boundary bundle
run: |
unzip /tmp/boundary_${{ inputs.product-version }}_linux_amd64.zip -d /usr/local/bin
rm /tmp/boundary_${{ inputs.product-version }}_linux_amd64.zip
unzip /tmp/${{ inputs.artifact-name }} -d /usr/local/bin
rm /tmp/${{ inputs.artifact-name }}
- name: Versions
run: |
echo "go version:"
Expand Down

0 comments on commit 3d9dbd3

Please sign in to comment.