Update .gitea/workflows/tf-plan.yml
This commit is contained in:
@@ -66,10 +66,11 @@ jobs:
|
|||||||
- name: Run terraform plan
|
- name: Run terraform plan
|
||||||
id: tfplan
|
id: tfplan
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: terraform plan -detailed-exitcode -out=tfplan.binary -input=false;
|
||||||
terraform plan -detailed-exitcode -out=tfplan.binary -input=false;
|
|
||||||
printf "$?" > exitcode;
|
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
- name: Save exitcode to the artifacts
|
||||||
|
shell: bash
|
||||||
|
run: printf "${{ steps.tfplan.outputs.exitcode }}" > exitcode;
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user