From dcb9e3dcdb56fac857ef7fd192cbde7e6c2186da Mon Sep 17 00:00:00 2001 From: Jason I Date: Mon, 29 Apr 2024 09:04:44 -0700 Subject: [PATCH] chore: use GITHUB_WORKSPACE env --- .github/workflows/provision-darwin.sh | 2 +- .github/workflows/provision-linux.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/provision-darwin.sh b/.github/workflows/provision-darwin.sh index a4c0a1254..5d93df948 100755 --- a/.github/workflows/provision-darwin.sh +++ b/.github/workflows/provision-darwin.sh @@ -30,7 +30,7 @@ if [ -f "${GITHUB_WORKSPACE}/.ic-commit" ]; then stable_sha=$(curl https://raw.githubusercontent.com/dfinity/examples/master/.ic-commit) current_sha=$(sed <"$GITHUB_WORKSPACE/.ic-commit" 's/#.*$//' | sed '/^$/d') if [ "$current_sha" != "$stable_sha" ]; then - ./update-dfx-cache.sh + sh "$GITHUB_WORKSPACE/.github/workflows/update-dfx-cache.sh" fi fi diff --git a/.github/workflows/provision-linux.sh b/.github/workflows/provision-linux.sh index 097ad7c99..c39372723 100755 --- a/.github/workflows/provision-linux.sh +++ b/.github/workflows/provision-linux.sh @@ -24,7 +24,7 @@ if [ -f "${GITHUB_WORKSPACE}/.ic-commit" ]; then stable_sha=$(curl https://raw.githubusercontent.com/dfinity/examples/master/.ic-commit) current_sha=$(sed <"$GITHUB_WORKSPACE/.ic-commit" 's/#.*$//' | sed '/^$/d') if [ "$current_sha" != "$stable_sha" ]; then - ./update-dfx-cache.sh + sh "$GITHUB_WORKSPACE/.github/workflows/update-dfx-cache.sh" fi fi