24 lines
725 B
YAML
24 lines
725 B
YAML
name: Download the provider binary
|
|
description: Downloads the provider binary to `bin/`.
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
|
|
- name: Download pulumi-resource-xyz
|
|
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
|
|
with:
|
|
pattern: pulumi-resource-xyz-*-linux-amd64.tar.gz
|
|
path: ${{ github.workspace }}/bin
|
|
merge-multiple: true
|
|
|
|
- name: Untar pulumi-resource-xyz
|
|
shell: bash
|
|
run: |
|
|
tar -zxf ${{ github.workspace }}/bin/*amd64.tar.gz -C ${{ github.workspace}}/bin
|
|
|
|
- name: Mark pulumi-resource-xyz as executable
|
|
shell: bash
|
|
run: |
|
|
find ${{ github.workspace }} -name "pulumi-*-xyz" -print -exec chmod +x {} \;
|