initial commit
This commit is contained in:
23
.github/actions/download-provider/action.yml
vendored
Normal file
23
.github/actions/download-provider/action.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
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 {} \;
|
||||
Reference in New Issue
Block a user