mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-24 03:30:57 -05:00
21 lines
575 B
YAML
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
|