27 lines
585 B
YAML
27 lines
585 B
YAML
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://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
|