mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
3765cb0762
* deps: update actions/upload-artifact action to v4 * deps: update actions/download-artifacts action to v4 --------- Signed-off-by: Daniel Weiße <dw@edgeless.systems> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
27 lines
710 B
YAML
27 lines
710 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@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
|
|
with:
|
|
name: terraform-module
|
|
path: terraform-module.zip
|
|
|
|
- name: Cleanup Terraform module dir
|
|
shell: bash
|
|
run: |
|
|
rm -r terraform-module terraform-module.zip
|