mirror of
https://github.com/eden-emulator/Releases.git
synced 2026-10-26 23:31:31 -04:00
initial
Signed-off-by: crueter <swurl@swurl.xyz>
This commit is contained in:
commit
a20959fab7
11 changed files with 1148 additions and 0 deletions
27
.github/workflows/clone/action.yml
vendored
Normal file
27
.github/workflows/clone/action.yml
vendored
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue