2023-04-05 11:40:06 -04:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths:
|
2023-07-27 14:45:06 -04:00
|
|
|
- .forgejo/workflows/forgejo-sh.yml
|
2023-04-05 11:40:06 -04:00
|
|
|
pull_request:
|
|
|
|
paths:
|
2023-07-27 14:45:06 -04:00
|
|
|
- .forgejo/workflows/forgejo-sh.yml
|
2023-04-05 11:40:06 -04:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
forgejo-sh:
|
|
|
|
runs-on: self-hosted
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- run: |
|
|
|
|
set -x
|
|
|
|
./forgejo-dependencies.sh install_docker
|
2023-07-27 14:45:06 -04:00
|
|
|
for version in 1.19.4-0 1.20.1-0 ; do
|
2023-04-05 11:40:06 -04:00
|
|
|
echo "=========================== launching forgejo v$version =========="
|
|
|
|
./forgejo.sh setup root admin1234 codeberg.org/forgejo/forgejo $version
|
|
|
|
./forgejo.sh teardown
|
|
|
|
done
|