Skip to content

Commit

Permalink
Check gtihub workplace
Browse files Browse the repository at this point in the history
  • Loading branch information
DanilBaibak committed Jan 31, 2024
1 parent ec82378 commit 194cd80
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/linux_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,16 +114,17 @@ jobs:
shell: bash
run: |
set -euxo pipefail
echo GITHUB_WORKSPACE: "${GITHUB_WORKSPACE}"
if [[ -d "${GITHUB_WORKSPACE}" ]]; then
if [[ "${NO_SUDO}" == "false" ]]; then
echo "::group::Cleanup with-sudo debug output"
sudo rm -rf "${GITHUB_WORKSPACE}"
else
echo "::group::Cleanup no-sudo debug output"
rm -rf "${GITHUB_WORKSPACE}"
fi
fi
# if [[ -d "${GITHUB_WORKSPACE}" ]]; then
# if [[ "${NO_SUDO}" == "false" ]]; then
# echo "::group::Cleanup with-sudo debug output"
# sudo rm -rf "${GITHUB_WORKSPACE}"
# else
# echo "::group::Cleanup no-sudo debug output"
# rm -rf "${GITHUB_WORKSPACE}"
# fi
# fi

mkdir -p "${GITHUB_WORKSPACE}"
echo "::endgroup::"
Expand Down

0 comments on commit 194cd80

Please sign in to comment.