From 827e04c7acfe5baabda743a39285f4a7de6aadf8 Mon Sep 17 00:00:00 2001 From: Mykhailo Date: Thu, 14 Dec 2023 10:21:28 +0200 Subject: [PATCH] Update .gitea/workflows/tf-plan.yml --- .gitea/workflows/tf-plan.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/tf-plan.yml b/.gitea/workflows/tf-plan.yml index 37e3bed..b7e76d4 100644 --- a/.gitea/workflows/tf-plan.yml +++ b/.gitea/workflows/tf-plan.yml @@ -66,10 +66,11 @@ jobs: - name: Run terraform plan id: tfplan shell: bash - run: | - terraform plan -detailed-exitcode -out=tfplan.binary -input=false; - printf "$?" > exitcode; + run: terraform plan -detailed-exitcode -out=tfplan.binary -input=false; continue-on-error: true + - name: Save exitcode to the artifacts + shell: bash + run: printf "${{ steps.tfplan.outputs.exitcode }}" > exitcode; - name: Upload artifacts uses: actions/upload-artifact@v3 with: