Files
pulumi-incus/.github/actions/download-provider/action.yml
2025-04-18 13:29:38 -07:00

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@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
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 {} \;