Skip to content

Commit 93157e3

Browse files
committed
fix ci
1 parent edc85f3 commit 93157e3

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

.github/workflows/mainline-compile.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,7 @@ jobs:
4646
uses: actions/upload-artifact@v4
4747
with:
4848
name: hcpu-tarballs
49-
path: bazel-bin/tools/packaging/*.tar.gz
49+
path: |
50+
bazel-bin/tools/packaging/*.tar.gz
51+
!bazel-bin/tools/packaging/hcpu.tar.gz
5052
if-no-files-found: error

.github/workflows/mainline-format.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
- name: Checkout
1818
uses: actions/checkout@v4
1919

20-
- name: Run formatters
21-
run: sudo -u ci bazelisk run :format
20+
- name: Fix permissions
21+
run: chown -R ci:ci "$GITHUB_WORKSPACE"
2222

23-
- name: Check diff
24-
run: git diff --quiet
23+
- name: Run formatters
24+
run: sudo -u ci bazelisk run :format && git diff --quiet

.github/workflows/mainline-lint.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ jobs:
1818
uses: actions/checkout@v4
1919
with:
2020
fetch-depth: 0
21+
submodules: true
22+
23+
- name: Fix permissions
24+
run: chown -R ci:ci "$GITHUB_WORKSPACE"
2125

2226
- name: Run linters
2327
continue-on-error: true

0 commit comments

Comments
 (0)