Merge pull request #2207 from tree-sitter/cicd-issue

cicd: fix windows targets sporadic issue due to corrupted PATH
This commit is contained in:
Andrew Hlynskyi 2023-04-15 04:34:49 +03:00 committed by GitHub
commit f403edc9eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,7 +77,7 @@ jobs:
targets: ${{ matrix.target }}
- name: Install cross
if: matrix.use-cross
if: ${{ matrix.use-cross }}
uses: taiki-e/install-action@v2
with:
tool: cross
@ -112,9 +112,9 @@ jobs:
AR: ${{ matrix.ar }}
run: |
PATH="$PWD/.github/scripts:$PATH"
echo "PATH=$PATH" >> $GITHUB_ENV
echo "ROOT=$PWD" >> $GITHUB_ENV
echo "$PWD/.github/scripts" >> $GITHUB_PATH
echo "TREE_SITTER=tree-sitter.sh" >> $GITHUB_ENV
echo "ROOT=$PWD" >> $GITHUB_ENV
export TARGET=${{ matrix.target }}
echo "TARGET=$TARGET" >> $GITHUB_ENV