Skip to content

Commit

Permalink
clean environment file from .terraform cache to avoid workspace selec…
Browse files Browse the repository at this point in the history
…t errors
  • Loading branch information
goruha authored Nov 29, 2024
1 parent 6ee604e commit a7c86ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,9 @@ runs:
working-directory: ${{ steps.vars.outputs.component_path }}
run: |
set +e
# Remove the environment file from the cache to avoid conflicts with workspace select
rm -f ./${{ steps.vars.outputs.component_path }}/.terraform/environment
TERRAFORM_OUTPUT_FILE="./terraform-${GITHUB_RUN_ID}-output.txt"
Expand Down

0 comments on commit a7c86ab

Please sign in to comment.