Skip to content

Commit f61d9db

Browse files
authored
Merge pull request #5 from analyticsMD/change-github-workspace-path
DEVOPS-13920: Action install updates (Container Path Resolution)
2 parents 4140987 + 5554d6f commit f61d9db

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

action.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ runs:
441441
-var "infracost_total_monthly_cost:${{ steps.infracost-diff.outputs.infracost_diff_total_monthly_cost }}" \
442442
-var "logoImage:${{ inputs.branding-logo-image }}" \
443443
-var "logoUrl:${{ inputs.branding-logo-url }}" \
444-
--output "${{ github.workspace }}/atmos-apply-summary.md" \
444+
--output "${GITHUB_WORKSPACE}/atmos-apply-summary.md" \
445445
--log-level $([[ "${{ inputs.debug }}" == "true" ]] && echo "DEBUG" || echo "INFO") \
446446
apply -- \
447447
atmos terraform deploy ${{ inputs.component }} \
@@ -460,14 +460,14 @@ runs:
460460
grep -v 'Switched to workspace' | \
461461
awk '$1~/^Warnings:$/ {exit} {print}' | \
462462
grep -v 'WARN detected' 1> output_values.json
463-
terraform-docs -c ${GITHUB_ACTION_PATH}/config/tfdocs-config.yaml --output-file ${{ github.workspace }}/atmos-apply-summary.md ./
463+
terraform-docs -c ${GITHUB_ACTION_PATH}/config/tfdocs-config.yaml --output-file ${GITHUB_WORKSPACE}/atmos-apply-summary.md ./
464464
465-
sed -i "s#\`<sensitive>\`#![Sensitive](https://img.shields.io/badge/sensitive-c40000?style=for-the-badge)#g" ${{ github.workspace }}/atmos-apply-summary.md
466-
sed -i "s#\`\"#\`#g" ${{ github.workspace }}/atmos-apply-summary.md
467-
sed -i "s#\"\`#\`#g" ${{ github.workspace }}/atmos-apply-summary.md
468-
sed -i "s#|--#|:-#g" ${{ github.workspace }}/atmos-apply-summary.md
465+
sed -i "s#\`<sensitive>\`#![Sensitive](https://img.shields.io/badge/sensitive-c40000?style=for-the-badge)#g" ${GITHUB_WORKSPACE}/atmos-apply-summary.md
466+
sed -i "s#\`\"#\`#g" ${GITHUB_WORKSPACE}/atmos-apply-summary.md
467+
sed -i "s#\"\`#\`#g" ${GITHUB_WORKSPACE}/atmos-apply-summary.md
468+
sed -i "s#|--#|:-#g" ${GITHUB_WORKSPACE}/atmos-apply-summary.md
469469
470-
cat "${{ github.workspace }}/atmos-apply-summary.md" >> $GITHUB_STEP_SUMMARY
470+
cat "${GITHUB_WORKSPACE}/atmos-apply-summary.md" >> $GITHUB_STEP_SUMMARY
471471
472472
if [[ "${TERRAFORM_RESULT}" == "0" ]]; then
473473
echo "status=succeeded" >> $GITHUB_OUTPUT
@@ -478,7 +478,7 @@ runs:
478478
fi
479479
480480
# Link to a job that executed this action
481-
echo "[Job](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})" >> "${{ github.workspace }}/atmos-apply-summary.md"
481+
echo "[Job](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})" >> "${GITHUB_WORKSPACE}/atmos-apply-summary.md"
482482
483483
rm -f ${TERRAFORM_OUTPUT_FILE}
484484

0 commit comments

Comments
 (0)