29 lines
903 B
YAML
29 lines
903 B
YAML
name: Download the code generator binary
|
|
description: Downloads the code generator binary to `bin/`.
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Download the prerequisites bin
|
|
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
|
|
with:
|
|
name: prerequisites-bin
|
|
path: bin
|
|
|
|
- name: Restore executable permissions
|
|
shell: bash
|
|
run: chmod +x $(< bin/executables.txt)
|
|
|
|
- name: Remove executables list
|
|
shell: bash
|
|
run: rm bin/executables.txt
|
|
|
|
- name: Download schema-embed.json
|
|
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
|
|
with:
|
|
# Use a pattern to avoid failing if the artifact doesn't exist
|
|
pattern: schema-embed.*
|
|
# Avoid creating directories for each artifact
|
|
merge-multiple: true
|
|
path: provider/cmd/pulumi-resource-incus
|