Skip to content

Commit

Permalink
fix: Retry
Browse files Browse the repository at this point in the history
  • Loading branch information
erikmd committed May 10, 2024
1 parent cfbe942 commit 9581c19
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ echo "RUNNER_WORKSPACE=$RUNNER_WORKSPACE"
# so $(dirname "$GITHUB_ENV") is typically /home/runner/work/_temp/_runner_file_commands on the host.
# We also notice that $RUNNER_WORKSPACE is typically /home/runner/work/${GITHUB_REPOSITORY#*/} (e.g. /home/runner/work/docker-coq-action).
# Hence this hardcoded yet as-general-as-possible path:
DIR_GITHUB_RUNNER_FILE_COMMANDS="${RUNNER_WORKSPACE#*/}/_temp/_runner_file_commands"
DIR_GITHUB_RUNNER_FILE_COMMANDS="${RUNNER_WORKSPACE%*/}/_temp/_runner_file_commands"
echo "DIR_GITHUB_RUNNER_FILE_COMMANDS=$DIR_GITHUB_RUNNER_FILE_COMMANDS"

# Assuming you used https://github.com/actions/checkout,
Expand Down Expand Up @@ -201,14 +201,14 @@ if test -z "$INPUT_CUSTOM_SCRIPT_EXPANDED"; then
exit 1
fi

startGroup "set permissions for GitHub Actions runner command files in $DIR_GITHUB_RUNNER_FILE_COMMANDS"

chmod -R a+rw "$DIR_GITHUB_RUNNER_FILE_COMMANDS"
chmod a+rwx "$DIR_GITHUB_RUNNER_FILE_COMMANDS/.." || true
echorun ls -la "$DIR_GITHUB_RUNNER_FILE_COMMANDS"
echorun ls -la "$DIR_GITHUB_RUNNER_FILE_COMMANDS/.." || true

endGroup
# startGroup "set permissions for GitHub Actions runner command files in $DIR_GITHUB_RUNNER_FILE_COMMANDS"
#
# chmod -Rv a+rw "$DIR_GITHUB_RUNNER_FILE_COMMANDS"
# chmod -v a+rwx "$DIR_GITHUB_RUNNER_FILE_COMMANDS/.." || true
# echorun ls -la "$DIR_GITHUB_RUNNER_FILE_COMMANDS"
# echorun ls -la "$DIR_GITHUB_RUNNER_FILE_COMMANDS/.." || true
#
# endGroup

startGroup "Pull docker image"

Expand Down

0 comments on commit 9581c19

Please sign in to comment.