Skip to content

Commit 31bf189

Browse files
committed
WIP
1 parent aab38c4 commit 31bf189

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/test-pr.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,10 @@ jobs:
4141
run: |
4242
brew install ninja flex bison automake autoconf-archive coreutils
4343
if [[ $(uname -m) == 'arm64' ]]; then
44-
echo 'export PATH="/opt/homebrew/opt/flex/bin:$PATH"' >> /Users/runner/.zshrc
45-
echo 'export PATH="/opt/homebrew/opt/bison/bin:$PATH"' >> /Users/runner/.zshrc
44+
echo "PATH=/opt/homebrew/opt/bison/bin:/opt/homebrew/opt/flex/bin:$PATH" >> $GITHUB_ENV
4645
else
47-
echo 'export PATH="/usr/local/opt/flex/bin:$PATH"' >> /Users/runner/.zshrc
48-
echo 'export PATH="/usr/local/opt/bison/bin:$PATH"' >> /Users/runner/.zshrc
46+
echo "PATH=/usr/local/opt/bison/bin:/opt/homebrew/opt/flex/bin:$PATH" >> $GITHUB_ENV
4947
fi
50-
source /Users/runner/.zshrc
5148
bison --version
5249
5350
- name: Export GitHub Actions cache environment variables
@@ -64,12 +61,10 @@ jobs:
6461
6562
- name: npx playwright install
6663
run: |
67-
bison --version
6864
npx playwright install --with-deps
6965
7066
- name: install-build-deps
7167
run: |
72-
bison --version
7368
npm run install-build-deps
7469
7570
- name: Lint

0 commit comments

Comments
 (0)