fix: macos sed (#550)
This commit is contained in:
parent
7908e53f43
commit
5ca9c8ff25
|
@ -60,7 +60,7 @@ jobs:
|
|||
run: echo "os=macos-latest" >> $GITHUB_OUTPUT
|
||||
# Only run on main branch (or PR branches that contain 'macos') to minimize macOS minutes (billed at 10X)
|
||||
# https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#included-storage-and-minutes
|
||||
if: ${{ github.ref == 'refs/heads/main' || contains(github.ref, 'macos') }}
|
||||
if: ${{ github.ref == 'refs/heads/main' || contains(github.head_ref, 'macos') }}
|
||||
- id: windows
|
||||
run: echo "os=windows-latest" >> $GITHUB_OUTPUT
|
||||
# Only run on main branch (or PR branches that contain 'windows') to minimize Windows minutes (billed at 2X)
|
||||
|
@ -175,7 +175,7 @@ jobs:
|
|||
|
||||
- name: Make dev dependencies available (bzlmod)
|
||||
if: matrix.bzlmodEnabled
|
||||
run: sed -i 's/dev_dependency = True/dev_dependency = False/g' MODULE.bazel
|
||||
run: sed -i${{ matrix.os == 'macos-latest' && ' ""' || '' }} 's/dev_dependency = True/dev_dependency = False/g' MODULE.bazel
|
||||
|
||||
- name: Write rbe credentials
|
||||
if: ${{ matrix.config == 'rbe' }}
|
||||
|
|
Loading…
Reference in New Issue