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