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: