From 9dc45f68161f34496c6625d36d9ccac8cd34342f Mon Sep 17 00:00:00 2001 From: Matthieu Date: Fri, 5 Nov 2021 17:47:01 +0000 Subject: [PATCH] reorder steps --- .github/workflows/bazel-build.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/bazel-build.yml b/.github/workflows/bazel-build.yml index 20cb07e..55959d5 100644 --- a/.github/workflows/bazel-build.yml +++ b/.github/workflows/bazel-build.yml @@ -53,11 +53,7 @@ jobs: with: path: "~/.cache/bazel" key: bazel-${{ matrix.os }} - - name: Execute Bazel tests - shell: bash - if: matrix.os == 'ubuntu-latest' - run: | - bazel test //...:all + # Runs a set of commands using the runners shell - name: Execute build script shell: bash @@ -77,3 +73,9 @@ jobs: run: | bazel run --define docker_tag=${{ steps.extract_branch.outputs.branch }} //:container_publish if: matrix.os == 'ubuntu-latest' + + - name: Execute Bazel tests + shell: bash + if: matrix.os == 'ubuntu-latest' + run: | + bazel test //...:all -- 2.39.5