refactor end-to-end.yml workflow to use a top-level end-to-end.sh

This commit is contained in:
Twenty Panda 2024-03-17 11:58:02 +01:00
parent 62f75aa56f
commit bf689a2478
9 changed files with 142 additions and 74 deletions

View file

@ -37,8 +37,8 @@ git clone https://code.forgejo.org/actions/setup-forgejo
export PATH=$(pwd)/setup-forgejo:$PATH
git clone https://code.forgejo.org/forgejo/end-to-end
cd end-to-end
export DIR=/tmp/end-to-end
rm -fr /tmp/end-to-end ; sudo rm -fr /srv/example ; sudo mkdir /srv/example ; sudo chown -R $USER /srv/example
export DIR=/tmp/forgejo-end-to-end
rm -fr /tmp/forgejo-end-to-end ; sudo rm -fr /srv/example ; sudo mkdir /srv/example ; sudo chown -R $USER /srv/example
```
Run using Forgejo built from source.