From ab87e3badabc587392254349640062135d0196e3 Mon Sep 17 00:00:00 2001 From: Scott Harrison Moeller Date: Fri, 12 Mar 2021 17:25:38 -0500 Subject: [PATCH] Change working directory for Docker build An attempt to use learnings from here: https://github.com/actions/runner/issues/1009 --- .github/workflows/gcc-problems.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gcc-problems.yml b/.github/workflows/gcc-problems.yml index 3fe92cf8bee06..38a7fd1170d6a 100644 --- a/.github/workflows/gcc-problems.yml +++ b/.github/workflows/gcc-problems.yml @@ -99,8 +99,15 @@ jobs: uses: addnab/docker-run-action@v2 with: image: magma/mme_builder:latest - # TODO: Break up this long line (can I use '\' at end of each line?) - run: cd /magma/lte/gateway;make build_oai 2>&1 > /compile.log;for file in ${{ steps.changed_files.outputs.all }}; do grep $file /compile.log | xo '/\/magma\/((.*):(\d+):(\d+):\s+(?:fatal\s)?(warning|error):\s+(.*))/$1/' || true; done; + run: | + pwd + ls /github/workflow/ + ls /github/workspace/ + cd /github/workflow/lte/gateway + make build_oai 2>&1 > /compile.log + for file in ${{ steps.changed_files.outputs.all }}; + do grep $file /compile.log | xo '/\/magma\/((.*):(\d+):(\d+):\s+(?:fatal\s)?(warning|error):\s+(.*))/$1/' || true; + done; - name: Store oai_build_logs artifact uses: actions/upload-artifact@v2