Merge pull request 'forgejo.sh test for 1.21.0-0-rc0' (#46) from earl-warren/setup-forgejo:wip-v1.21 into main

Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/46
Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
This commit is contained in:
earl-warren 2023-09-23 19:07:23 +00:00
commit f93d932cf0

View file

@ -1,9 +1,11 @@
on: on:
push: push:
paths: paths:
- forgejo.sh
- .forgejo/workflows/forgejo-sh.yml - .forgejo/workflows/forgejo-sh.yml
pull_request: pull_request:
paths: paths:
- forgejo.sh
- .forgejo/workflows/forgejo-sh.yml - .forgejo/workflows/forgejo-sh.yml
jobs: jobs:
@ -14,8 +16,12 @@ jobs:
- run: | - run: |
set -x set -x
./forgejo-dependencies.sh install_docker ./forgejo-dependencies.sh install_docker
for version in 1.19.4-0 1.20.3-0 ; do (
echo codeberg.org/forgejo/forgejo 1.19.4-0
echo codeberg.org/forgejo/forgejo 1.20.4-1
echo codeberg.org/forgejo-experimental/forgejo 1.21.0-0-rc0
) | while read url version ; do
echo "=========================== launching forgejo v$version ==========" echo "=========================== launching forgejo v$version =========="
./forgejo.sh setup root admin1234 codeberg.org/forgejo/forgejo $version ./forgejo.sh setup root admin1234 $url $version
./forgejo.sh teardown ./forgejo.sh teardown
done done