fix(cliui): Download correct artifact (#3134)

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: 181f0f1806
pull/3036/head
Timothy Messier 3 years ago committed by GitHub
parent 181f0f1806
commit 743bbf88ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -411,5 +411,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

@ -3,7 +3,7 @@ name: test-cli-ui
on:
workflow_call:
inputs:
product-version:
artifact-name:
type: string
required: true
@ -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:"

Loading…
Cancel
Save