Update .gitea/workflows/tf-plan.yml

This commit is contained in:
2023-12-14 10:21:28 +02:00
committed by Gitea Bot
parent 873af30ea6
commit 827e04c7ac

View File

@@ -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: