mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-27 16:51:00 -05:00
22 lines
528 B
YAML
22 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
|