mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-24 02:41:01 -05:00
forgejo.sh test for 1.21.0-0-rc0
This commit is contained in:
parent
db910eb6ef
commit
5e489b9595
1 changed files with 8 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue