Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Commit be90cbb

Browse files
committed
ci: work around cargo-zigbuild cache bug
1 parent c9c49f2 commit be90cbb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,13 @@ jobs:
172172
--features dist \
173173
-p mas-cli
174174
175+
- name: Create CACHEDIR.TAG files
176+
# This is a workaround for `cargo-zigbuild` not creating the CACHEDIR.TAG files
177+
# https://github.com/rust-cross/cargo-zigbuild/issues/165
178+
run: |
179+
touch target/CACHEDIR.TAG
180+
touch target/${{ matrix.arch }}-apple-darwin/CACHEDIR.TAG
181+
175182
- name: Download the artifacts
176183
uses: actions/[email protected]
177184
with:

0 commit comments

Comments
 (0)