setup-forgejo/.forgejo/workflows/forgejo-sh.yml
2023-07-27 20:51:40 +02:00

21 lines
575 B
YAML

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