Skip to content

bazel: stop adding BUILD_HOST and BUILD_USER to stable-status.txt #11

bazel: stop adding BUILD_HOST and BUILD_USER to stable-status.txt

bazel: stop adding BUILD_HOST and BUILD_USER to stable-status.txt #11

Workflow file for this run

# This is a basic workflow that is manually triggered
name: CI
on: [push]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install bazelisk
run: |
curl -LO "https://github.com/bazelbuild/bazelisk/releases/download/v1.1.0/bazelisk-linux-amd64"
mkdir -p "${GITHUB_WORKSPACE}/bin/"
mv bazelisk-linux-amd64 "${GITHUB_WORKSPACE}/bin/bazel"
chmod +x "${GITHUB_WORKSPACE}/bin/bazel"
- name: Build and Test
run: |
set -ex
"${GITHUB_WORKSPACE}/bin/bazel" build //... \
--remote_header=x-buildbuddy-api-key=${{ secrets.BUILDBUDDY_ORG_API_KEY }}
"${GITHUB_WORKSPACE}/bin/bazel" test //... \
--remote_header=x-buildbuddy-api-key=${{ secrets.BUILDBUDDY_ORG_API_KEY }}
- name: Archive workspace status
uses: actions/upload-artifact@v3
with:
name: workspace-status
path: |
bazel-out/stable-status.txt
bazel-out/volatile-status.txt