constellation/.github/actions/upload_terraform_module/action.yml
renovate[bot] 8f3d6c42f2
deps: update GitHub action dependencies (#3507)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-28 16:15:26 +01:00

27 lines
711 B
YAML

name: Upload Terraform infrastructure module
description: "Upload the Terraform infrastructure module as an artifact."
runs:
using: "composite"
steps:
- name: Copy Terraform module
shell: bash
run: |
cp -r terraform/infrastructure terraform-module
- name: Zip terraform dir
shell: bash
run: |
zip -r terraform-module.zip terraform-module
- name: Upload artifact
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: terraform-module
path: terraform-module.zip
- name: Cleanup Terraform module dir
shell: bash
run: |
rm -rf terraform-module terraform-module.zip