Skip to content

Commit 25ca7f6

Browse files
committed
Derp, use the example below
1 parent 09e975d commit 25ca7f6

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ jobs:
3434
steps:
3535
- uses: actions/checkout@v3
3636

37-
- name: Configure
38-
run: echo "MIRIFLAGS=-Zmiri-tag-gc=$([[ ${{ matrix.os }} == \"ubuntu.latest\" ]]; echo $?)" >> $GITHUB_ENV
37+
- name: Set the tag GC interval to 0 on linux
38+
if: runner.os == 'linux'
39+
run: echo "MIRIFLAGS=-Zmiri-tag-gc=1" >> $GITHUB_PATH
3940

40-
- name: Test
41-
run: echo $MIRIFLAGS
41+
- name: Disable the tag GC on non-linux
42+
if: runner.os != 'linux'
43+
run: echo "MIRIFLAGS=-Zmiri-tag-gc=0" >> $GITHUB_PATH
4244

4345
# We install gnu-tar because BSD tar is buggy on macOS builders of GHA.
4446
# See <https://github.com/actions/cache/issues/403>.

0 commit comments

Comments
 (0)