From 99b4749ac78972728685371353c8674c9ccd3c9f Mon Sep 17 00:00:00 2001 From: Alex Rodionov Date: Fri, 31 May 2024 15:48:01 -0700 Subject: [PATCH] more --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e2ba265..e093af0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,10 +26,12 @@ jobs: repository: bazelbuild/examples sparse-checkout: java-maven sparse-checkout-cone-mode: false + - name: Checkout setup-bazel uses: actions/checkout@v4 with: path: setup-bazel + - name: Prepare environment (POSIX) if: matrix.os != 'windows' run: | @@ -37,12 +39,14 @@ jobs: shopt -s dotglob mv java-maven/* . rmdir java-maven + - name: Prepare environment (Windows) if: matrix.os == 'windows' run: | Remove-Item -Path (Get-Command bazel.exe).Source Get-ChildItem -Path java-maven -Recurse -File | Move-Item -Destination . Remove-Item -Path java-maven + - name: Setup Bazel uses: ./setup-bazel/ with: @@ -50,8 +54,10 @@ jobs: bazelisk-version: 1.x remote-cache: true repository-cache: true + - run: bazel build ... - run: bazel test ... + - name: Start SSH session if: failure() && runner.debug == '1' uses: mxschmitt/action-tmate@v3