setup-forgejo/.forgejo/workflows/forgejo-sh.yml

21 lines
528 B
YAML

on:
push:
paths:
- forgejo.sh
pull_request:
paths:
- forgejo.sh
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.0-2 1.19.0-3; do
echo "=========================== launching forgejo v$version =========="
./forgejo.sh setup root admin1234 codeberg.org/forgejo/forgejo $version
./forgejo.sh teardown
done