From fe943b8a2fb6f796f1bd39cd74f92c3d6d391877 Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Mon, 22 Jan 2024 12:37:21 +0100 Subject: [PATCH] ci: debug new runner address --- .forgejo/workflows/demo.yaml | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/demo.yaml b/.forgejo/workflows/demo.yaml index 351a7c1..dd1ef90 100644 --- a/.forgejo/workflows/demo.yaml +++ b/.forgejo/workflows/demo.yaml @@ -9,11 +9,29 @@ jobs: runs-on: docker steps: - - name: 'FIX: fetch actions/checkout@v4' - run: curl -vL --create-dirs -o /var/run/act/actions/actions-checkout@v4/dist/index.js https://raw.githubusercontent.com/actions/checkout/main/dist/index.js + - name: Test checkout commands (init) + run: git init /workspace/julien.oculi/test-forgejo-runner - - name: Setup repo - uses: actions/checkout@v4 + - name: Test checkout commands (remote) + run: git remote add origin https://git.cohabit.fr/julien.oculi/test-forgejo-runner - - name: Check repo - run: ls -lah + - name: Test checkout commands (config) + run: "git config --local http.https://git.cohabit.fr/.extraheader \"AUTHORIZATION: basic\"" + + - name: Debug net + run: curl https://git.cohabit.fr + + - name: Debug git config (local) + run: cd /workspace/julien.oculi/test-forgejo-runner && git config --local -l + + - name: Test checkout commands (fetch) + run: git -c protocol.version=2 fetch -v --no-tags --prune --no-recurse-submodules --depth=1 origin +2b3aefde1b6cbdf9e0a3bce32f86a0d069fc7c37:refs/remotes/origin/main + + # - name: 'FIX: fetch actions/checkout@v4' + # run: curl -vL --create-dirs -o /var/run/act/actions/actions-checkout@v4/dist/index.js https://raw.githubusercontent.com/actions/checkout/main/dist/index.js + + # - name: Setup repo + # uses: actions/checkout@v4 + + # - name: Check repo + # run: ls -lah