main: proper runner directory

This commit is contained in:
Dawid Dziurla 2020-03-26 01:25:50 +01:00 committed by GitHub
parent 423d9907fd
commit b27c1f0ddb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@ set -eu
directory="${INPUT_DIRECTORY:-}"
os="${INPUT_OS:-"debian"}"
directory_runner="$RUNNER_WORKSPACE/$directory"
directory_runner="$RUNNER_WORKSPACE/$(echo $GITHUB_REPOSITORY | cut -d/ -f2)/$directory"
directory_container="$GITHUB_WORKSPACE/$directory"
cd "$directory_container"