mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-12-27 15:14:53 -05:00
use vars to control the jobs
This commit is contained in:
parent
06709db2c5
commit
fdd4ccf4c3
1 changed files with 4 additions and 6 deletions
|
@ -8,16 +8,14 @@ jobs:
|
||||||
info:
|
info:
|
||||||
- version: "1.21.0-1-rc0"
|
- version: "1.21.0-1-rc0"
|
||||||
image: codeberg.org/forgejo-experimental/forgejo
|
image: codeberg.org/forgejo-experimental/forgejo
|
||||||
tests: "cron"
|
tests: "${{ vars.V121_TESTS || 'echo artifacts pull-request service container expression local-action docker-action if if-fail cron' }}"
|
||||||
- version: "1.21.0-1-rc0"
|
|
||||||
image: codeberg.org/forgejo-experimental/forgejo
|
|
||||||
tests: "echo artifacts pull-request service container expression local-action docker-action if if-fail"
|
|
||||||
- version: "1.20"
|
- version: "1.20"
|
||||||
image: codeberg.org/forgejo/forgejo
|
image: codeberg.org/forgejo/forgejo
|
||||||
tests: "echo service container expression local-action docker-action if if-fail"
|
tests: "${{ vars.V120_TESTS || 'echo service container expression local-action docker-action if if-fail' }}"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- run: |
|
- if: matrix.info.tests != 'none'
|
||||||
|
run: |
|
||||||
set -x
|
set -x
|
||||||
LXC_IP_PREFIX=10.0.10 ./forgejo-dependencies.sh
|
LXC_IP_PREFIX=10.0.10 ./forgejo-dependencies.sh
|
||||||
export PATH=$(pwd):$PATH
|
export PATH=$(pwd):$PATH
|
||||||
|
|
Loading…
Reference in a new issue