From 01476201d74f9963e9c0acc462300a8cf1090d19 Mon Sep 17 00:00:00 2001 From: restitux Date: Tue, 23 Dec 2025 23:15:30 -0700 Subject: [PATCH] TEST --- ci/build.sh | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/ci/build.sh b/ci/build.sh index 5e5fb11..4957362 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -24,17 +24,10 @@ main() { git fetch --tags --depth=1 origin "${LATEST_TAG}" git checkout "${LATEST_TAG}" - # 3. Clone the GitHub Action's repo (this repo) ACTION_REPO_DIR="${TMPDIR}/action-repo" - #CLONE_URL="${{ gitea.server_url }}/${{ gitea.repository }}.git" - CLONE_URL="${{ gitea.server_url }}/${{ gitea.repository }}.git" - git clone "$CLONE_URL" "${ACTION_REPO_DIR}" - git clone "https://github.com/${GITHUB_REPOSITORY}.git" "${ACTION_REPO_DIR}" - if [ -n "${GITHUB_SHA:-}" ]; then - cd "${ACTION_REPO_DIR}" - git checkout "${GITHUB_SHA}" - fi + mkdir "${ACTION_REPO_DIR}" + cp -a . "${ACTION_REPO_DIR}/" # 4. cd into the CoreDNS repo cd "${COREDNS_DIR}"