1
0
Fork 0
mirror of https://code.forgejo.org/actions/cascading-pr synced 2025-03-15 06:46:59 +01:00

do not modify the current directory

This commit is contained in:
Earl Warren 2023-10-13 22:57:51 +02:00
parent ff91240ee5
commit 66eedaebbd
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -19,8 +19,8 @@ jobs:
- name: tests cascading-pr
run: |
runner_config=$(pwd)/tests/runner-config.yaml
sed -i -e 's|file: .runner|file: ${{ steps.forgejo.outputs.runner-file }}|' $runner_config
runner_config=/tmp/runner-config.yaml
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
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 }}