diff --git a/.github/workflows/test-docker.yml b/.github/workflows/test-docker.yml index f06f73599ab..c026f2acad5 100644 --- a/.github/workflows/test-docker.yml +++ b/.github/workflows/test-docker.yml @@ -65,10 +65,9 @@ jobs: - name: After success run: | PATH="$PATH:~/.local/bin" - pil_path=`docker exec pillow_container /vpy3/bin/python -c 'import os, PIL;print(os.path.realpath(os.path.dirname(PIL.__file__)))'` sudo docker cp pillow_container:/Pillow /Pillow - sudo mkdir -p $pil_path - sudo cp src/PIL/*.py $pil_path + pil_path=`docker exec pillow_container /vpy3/bin/python -c 'import os, PIL;print(os.path.realpath(os.path.dirname(PIL.__file__)))'` + sudo docker cp pillow_container:$pil_path $pil_path .ci/after_success.sh env: MATRIX_DOCKER: ${{ matrix.docker }}