mirror of
https://code.forgejo.org/actions/cascading-pr
synced 2025-03-15 14:54:40 +01:00
do not modify the current directory
This commit is contained in:
parent
ff91240ee5
commit
66eedaebbd
1 changed files with 2 additions and 2 deletions
|
@ -19,8 +19,8 @@ jobs:
|
||||||
|
|
||||||
- name: tests cascading-pr
|
- name: tests cascading-pr
|
||||||
run: |
|
run: |
|
||||||
runner_config=$(pwd)/tests/runner-config.yaml
|
runner_config=/tmp/runner-config.yaml
|
||||||
sed -i -e 's|file: .runner|file: ${{ steps.forgejo.outputs.runner-file }}|' $runner_config
|
sed -e 's|file: .runner|file: ${{ steps.forgejo.outputs.runner-file }}|' < tests/runner-config.yaml > $runner_config
|
||||||
FORGEJO_RUNNER_CONFIG=$runner_config forgejo-runner.sh reload
|
FORGEJO_RUNNER_CONFIG=$runner_config forgejo-runner.sh reload
|
||||||
if ! tests/run.sh --debug --host_port ${{ steps.forgejo.outputs.host-port }} --url ${{ steps.forgejo.outputs.url }} --token ${{ steps.forgejo.outputs.token }} ; then
|
if ! tests/run.sh --debug --host_port ${{ steps.forgejo.outputs.host-port }} --url ${{ steps.forgejo.outputs.url }} --token ${{ steps.forgejo.outputs.token }} ; then
|
||||||
sed -e 's/^/[RUNNER LOGS] /' ${{ steps.forgejo.outputs.runner-logs }}
|
sed -e 's/^/[RUNNER LOGS] /' ${{ steps.forgejo.outputs.runner-logs }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue