1
0
Fork 0
mirror of https://code.forgejo.org/actions/cascading-pr synced 2025-03-15 14:54:40 +01:00

use the registered runner file

This commit is contained in:
Earl Warren 2023-10-13 15:41:21 +02:00
parent df08855107
commit 31487b1348
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -19,5 +19,7 @@ jobs:
- name: tests
run: |
FORGEJO_RUNNER_CONFIG=$(pwd)/tests/runner-config.yaml forgejo-runner.sh reload
runner_config=$(pwd)/tests/runner-config.yaml
sed -i -e 's|file: .runner|file: ${{ steps.forgejo.outputs.runner-file }}|' $runner_config
FORGEJO_RUNNER_CONFIG=$runner_config forgejo-runner.sh reload
tests/run.sh --host_port ${{ steps.forgejo.outputs.host-port }} --url ${{ steps.forgejo.outputs.url }} --token ${{ steps.forgejo.outputs.token }}