Skip to content

Commit

Permalink
remove fix for GITHUB_ACTION_PATH for container actions. actions/runn…
Browse files Browse the repository at this point in the history
…er#716 is closed
  • Loading branch information
andreineculau committed Apr 26, 2022
1 parent 06d3ee1 commit 14c7607
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 33 deletions.
7 changes: 0 additions & 7 deletions .github/actions/debug/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,4 @@ runs:
INPUT_XTRACE: ${{ inputs.xtrace }}
run: |
[[ "${INPUT_XTRACE}" != "true" ]] || set -x
# FIXME https://github.com/actions/runner/issues/716
[[ -d "${GITHUB_ACTION_PATH}" ]] || {
YP_BAK_GITHUB_ACTION_PATH=${GITHUB_ACTION_PATH}
GITHUB_ACTION_PATH=/__w/_actions/${GITHUB_ACTION_PATH#/home/runner/work/_actions/}
}
"${GITHUB_ACTION_PATH}/../../../bin/github-action-debug" | tee "${INPUT_FILE}"
7 changes: 0 additions & 7 deletions .github/actions/pipeline/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,4 @@ runs:
INPUT_XTRACE: ${{ inputs.xtrace }}
run: |
[[ "${INPUT_XTRACE}" != "true" ]] || set -x
# FIXME https://github.com/actions/runner/issues/716
[[ -d "${GITHUB_ACTION_PATH}" ]] || {
YP_BAK_GITHUB_ACTION_PATH=${GITHUB_ACTION_PATH}
GITHUB_ACTION_PATH=/__w/_actions/${GITHUB_ACTION_PATH#/home/runner/work/_actions/}
}
"${GITHUB_ACTION_PATH}/../../../bin/github-action-pipeline"
7 changes: 0 additions & 7 deletions .github/actions/run/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,4 @@ runs:
INPUT_XTRACE: ${{ inputs.xtrace }}
run: |
[[ "${INPUT_XTRACE}" != "true" ]] || set -x
# FIXME https://github.com/actions/runner/issues/716
[[ -d "${GITHUB_ACTION_PATH}" ]] || {
YP_BAK_GITHUB_ACTION_PATH=${GITHUB_ACTION_PATH}
GITHUB_ACTION_PATH=/__w/_actions/${GITHUB_ACTION_PATH#/home/runner/work/_actions/}
}
"${GITHUB_ACTION_PATH}/../../../bin/github-action-run"
4 changes: 0 additions & 4 deletions bin/github-action-debug
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ echo ::group::${HOME}
source "${YP_DIR}/ci/util/home.inc.sh"
echo ::endgroup::

# FIXME https://github.com/actions/runner/issues/716
[[ -d "${GITHUB_ACTION_PATH}" ]] || \
GITHUB_ACTION_PATH=/__w/_actions/${GITHUB_ACTION_PATH#/home/runner/work/_actions/}

# ------------------------------------------------------------------------------

>&2 echo "$(date +"%H:%M:%S") [INFO] Printing debug info..."
Expand Down
4 changes: 0 additions & 4 deletions bin/github-action-pipeline
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ echo ::group::${HOME}
source "${YP_DIR}/ci/util/home.inc.sh"
echo ::endgroup::

# FIXME https://github.com/actions/runner/issues/716
[[ -d "${GITHUB_ACTION_PATH}" ]] || \
GITHUB_ACTION_PATH=/__w/_actions/${GITHUB_ACTION_PATH#/home/runner/work/_actions/}

# ------------------------------------------------------------------------------

cd ${GITHUB_WORKSPACE}
Expand Down
4 changes: 0 additions & 4 deletions bin/github-action-run
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ echo ::group::${HOME}
source "${YP_DIR}/ci/util/home.inc.sh"
echo ::endgroup::

# FIXME https://github.com/actions/runner/issues/716
[[ -d "${GITHUB_ACTION_PATH}" ]] || \
GITHUB_ACTION_PATH=/__w/_actions/${GITHUB_ACTION_PATH#/home/runner/work/_actions/}

# ------------------------------------------------------------------------------

TMP_SCRIPT=$(mktemp -t yplatform.XXXXXXXXXX)
Expand Down

0 comments on commit 14c7607

Please sign in to comment.