Commit a9e252d4dc3308285ec8aa8824b478b89f1f2f70

Edward Thomson 2020-06-06T22:23:19

Update main.yml

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index cd7a615..6a1b581 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -49,6 +49,7 @@ jobs:
 
   # Run our CI/CD builds.
   build:
+    needs: [build_containers]
     strategy:
       matrix:
         platform:
@@ -69,9 +70,11 @@ jobs:
     name: Build
     runs-on: ${{ matrix.platform.os }}
     steps:
-      - run: echo ${{ matrix.platform.os }} ${{matrix.platform.image}}
-      - run: |
-          mkdir build && cd build
-          ../azure-pipelines/build.sh
-          ../azure-pipelines/test.sh
+    - name: Check out repository
+      uses: actions/checkout@v2
+    - run: echo ${{ matrix.platform.os }} ${{matrix.platform.image}}
+    - run: |
+        mkdir build && cd build
+        ../azure-pipelines/build.sh
+        ../azure-pipelines/test.sh
         shell: bash