Update .gitea/workflows/tf-plan.yml
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user