diff --git a/.github/workflows/alpha.yml b/.github/workflows/alpha.yml index d8b7b698..f7b46211 100644 --- a/.github/workflows/alpha.yml +++ b/.github/workflows/alpha.yml @@ -31,19 +31,7 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - uses: actions/cache@v4 - with: - path: | - /opt/homebrew/Cellar - /opt/homebrew/Homebrew - /opt/homebrew/Library - ~/Library/Caches/Homebrew - key: brew-${{ runner.os }}-ldid-xcbeautify-v1 - - - name: brew install ldid and xcbeautify - run: | - brew list ldid >/dev/null 2>&1 || brew install ldid - brew list xcbeautify >/dev/null 2>&1 || brew install xcbeautify + - run: brew install ldid && xcbeautify # -------------------------------------------------- # runtime env setup diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 0312d7ef..5ec9e84f 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -52,20 +52,7 @@ jobs: ) echo "should_skip=$SHOULD_SKIP" >> $GITHUB_OUTPUT - - uses: actions/cache@v4 - if: steps.build_gate.outputs.should_skip != 'true' - with: - path: | - /opt/homebrew/Cellar - /opt/homebrew/Homebrew - /opt/homebrew/Library - ~/Library/Caches/Homebrew - key: brew-${{ runner.os }}-ldid-xcbeautify-v1 - - - name: brew install ldid and xcbeautify - run: | - brew list ldid >/dev/null 2>&1 || brew install ldid - brew list xcbeautify >/dev/null 2>&1 || brew install xcbeautify + - run: brew install ldid && xcbeautify if: steps.build_gate.outputs.should_skip != 'true' # --------------------------------------------------