Skip to content

Commit e8f082b

Browse files
author
Andrei Jiroh Eugenio Halili
committed
Fix bash syntax error bullstuff.
Signed-off-by: Andrei Jiroh Eugenio Halili <[email protected]>
1 parent 1311758 commit e8f082b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/generate-lockfile.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
env:
1010
RELEASES_GPG_PASSPHARSE: ${{ secrets.RELEASES_GPG_PASSPHARSE }}
1111
RELEASES_GPG_KEY: ${{ secrets.RELEASES_GPG_KEY }}
12+
UPGRADE_LOCAL_YARNPKG_BINARY: true
1213
steps:
1314
- uses: actions/checkout@v2
1415
with:
@@ -22,8 +23,9 @@ jobs:
2223
- name: Install Yarn
2324
run: npm i -g yarn
2425
- name: Setup Yarn Berry
26+
shell: bash
2527
run: |
26-
[ ! -d .yarn/versions ] && yarn set version berry || [ -d .yarn/versions ] && [ $UPGRADE_LOCAL_YARNPKG_BINARY != "" ] && yarn set version latest
28+
[ ! -d .yarn/versions ] && yarn set version berry || [ -d .yarn/versions ] && [[ $UPGRADE_LOCAL_YARNPKG_BINARY != "" ]] && yarn set version latest
2729
- name: Run install CI
2830
run: yarn install
2931
- name: Stage changes and check status

0 commit comments

Comments
 (0)