diff --git a/.github/workflows/pr-ubuntu-docker.yml b/.github/workflows/pr-ubuntu-docker.yml index 44dc30e97e..bc2056a30e 100644 --- a/.github/workflows/pr-ubuntu-docker.yml +++ b/.github/workflows/pr-ubuntu-docker.yml @@ -59,38 +59,40 @@ jobs: docker commit prepare_deps_container localhost/buildimage - name: Debug - check build tools - image: localhost/buildimage - options: | - -v ${{github.workspace}}:/src - run: | - print_info_unsafe() { - echo - echo - echo "=== Checking $1 ===" - out="`which $1`" - ret="$?" - if [[ "$ret" != 0 || -z "$out" ]]; then - echo "Which exited with $ret $out" - return - fi - ls -lh "$out" - echo "version call:" - "$out" --version - } - - print_info() { - print_info_unsafe "$@" || true - } - - print_info clang++ - print_info cmake - print_info ninja - print_info node - print_info yarn - print_info git - print_info zip - print_info unzip - print_info curl + uses: addnab/docker-run-action@v3 + with: + image: localhost/buildimage + options: | + -v ${{github.workspace}}:/src + run: | + print_info_unsafe() { + echo + echo + echo "=== Checking $1 ===" + out="`which $1`" + ret="$?" + if [[ "$ret" != 0 || -z "$out" ]]; then + echo "Which exited with $ret $out" + return + fi + ls -lh "$out" + echo "version call:" + "$out" --version + } + + print_info() { + print_info_unsafe "$@" || true + } + + print_info clang++ + print_info cmake + print_info ninja + print_info node + print_info yarn + print_info git + print_info zip + print_info unzip + print_info curl - name: Store SP types from commit run: |