Skip to content

Commit

Permalink
Add git config to get workspace status
Browse files Browse the repository at this point in the history
  • Loading branch information
syjn99 committed Sep 7, 2024
1 parent caade67 commit 265c65b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/_build-bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@ jobs:
image: overfoundation/bazel-cross:latest
steps:
- uses: actions/checkout@v3
- name: Git config
run: |
git config --global --add safe.directory /__w/chronos/chronos
- name: Build ${{ inputs.build-type }}
run: |
bazel build \
--workspace_status_command=./hack/workspace_status.sh \ # Stamp binaries with git information
--config=release \
--config=${{ inputs.build-type }} \
//cmd/beacon-chain \
Expand Down

0 comments on commit 265c65b

Please sign in to comment.