mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-12-26 06:42:17 -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:
|
||||
- version: "1.21.0-1-rc0"
|
||||
image: codeberg.org/forgejo-experimental/forgejo
|
||||
tests: "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"
|
||||
tests: "${{ vars.V121_TESTS || 'echo artifacts pull-request service container expression local-action docker-action if if-fail cron' }}"
|
||||
- version: "1.20"
|
||||
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:
|
||||
- uses: actions/checkout@v3
|
||||
- run: |
|
||||
- if: matrix.info.tests != 'none'
|
||||
run: |
|
||||
set -x
|
||||
LXC_IP_PREFIX=10.0.10 ./forgejo-dependencies.sh
|
||||
export PATH=$(pwd):$PATH
|
||||
|
|
Loading…
Reference in a new issue