File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 9
9
env :
10
10
RELEASES_GPG_PASSPHARSE : ${{ secrets.RELEASES_GPG_PASSPHARSE }}
11
11
RELEASES_GPG_KEY : ${{ secrets.RELEASES_GPG_KEY }}
12
+ UPGRADE_LOCAL_YARNPKG_BINARY : true
12
13
steps :
13
14
- uses : actions/checkout@v2
14
15
with :
22
23
- name : Install Yarn
23
24
run : npm i -g yarn
24
25
- name : Setup Yarn Berry
26
+ shell : bash
25
27
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
27
29
- name : Run install CI
28
30
run : yarn install
29
31
- name : Stage changes and check status
You can’t perform that action at this time.
0 commit comments