Skip to content

Commit

Permalink
shell
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmeow committed Oct 18, 2024
1 parent ce710cc commit ef61418
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

name: Test

inputs:
matrix_runner:
required: true
Expand All @@ -14,6 +15,7 @@ inputs:
required: true
remote_cache_key:
required: true

runs:
using: composite
steps:
Expand All @@ -32,6 +34,7 @@ runs:
if:
steps.filter.outputs.has_code == 'true' && github.event_name ==
'pull_request'
shell: bash
run: |
echo "remote_cache_upload=--remote_upload_local_results=false" \
>> $GITHUB_ENV
Expand All @@ -41,6 +44,7 @@ runs:
if:
steps.filter.outputs.has_code == 'true' && github.event_name !=
'pull_request'
shell: bash
env:
REMOTE_CACHE_KEY: ${{ inputs.remote_cache_key }}
run: |
Expand All @@ -57,10 +61,12 @@ runs:
# Just for visibility, print space before and after the build.
- name: Disk space before build
if: steps.filter.outputs.has_code == 'true'
shell: bash
run: df -h

- name: Verify MODULE.bazel.lock
if: steps.filter.outputs.has_code == 'true'
shell: bash
run: |
exit_code=0
./scripts/run_bazel.py \
Expand Down

0 comments on commit ef61418

Please sign in to comment.