diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a856cee..6684501 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,8 +41,8 @@ jobs: - name: Use GNU tar on macOS if: matrix.os == 'macos-latest' run: | - tar --version - export PATH="$HOMEBREW_PREFIX/opt/gnu-tar/libexec/gnubin:$PATH" + brew install gnu-tar + echo "$HOMEBREW_PREFIX/opt/gnu-tar/libexec/gnubin" >> $GITHUB_PATH tar --version - uses: actions/checkout@v4