Signed-off-by: crueter <swurl@swurl.xyz>
This commit is contained in:
crueter
2025-07-05 15:00:30 -04:00
commit a20959fab7
11 changed files with 1148 additions and 0 deletions

27
.github/workflows/clone/action.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: Clone
runs:
using: "composite"
steps:
- name: Parse Forgejo payload
uses: ./.github/workflows/parse
- name: Print env vars
shell: bash
run: |
echo "Tag: $FORGEJO_TAG"
- name: Checkout Repo
shell: bash
run: |
while ! git clone https://crueter:${{ env.FORGEJO_TOKEN }}@git.eden-emu.dev/eden-emu/eden.git eden; do
echo "Clone failed!"
sleep 5
echo "Trying clone again..."
rm -rf ./eden || true
done
cd eden
git reset --hard $FORGEJO_TAG
git submodule update --init --recursive