Skip to content

Commit d893807

Browse files
committed
Fix failing on broken packages [skip ci]
1 parent 1c4e0db commit d893807

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/cache-nightly.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
path: /tmp
8888

8989
- name: Patch script
90-
run: sed -i -e '/releases/d' -e '$s/fix_packages//' -e '1s/$/\n\nset -x/' scripts/install.sh
90+
run: sed -i -e '/releases/d' -e '/^\s*fix_packages\s*$/d' -e '1s/$/\n\nset -x/' scripts/install.sh
9191

9292
- name: Setup PHP
9393
run: bash scripts/install.sh ${{ matrix.php-versions }} ${{ matrix.builds }} ${{ matrix.ts }}

.github/workflows/cache-stable.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118
path: /tmp
119119

120120
- name: Patch script
121-
run: sed -i -e '/releases/d' -e '$s/fix_packages//' -e '1s/$/\n\nset -x/' scripts/install.sh
121+
run: sed -i -e '/releases/d' -e '/^\s*fix_packages\s*$/d' -e '1s/$/\n\nset -x/' scripts/install.sh
122122

123123
- name: Setup PHP
124124
run: bash scripts/install.sh ${{ matrix.php-versions }} ${{ matrix.builds }} ${{ matrix.ts }}

0 commit comments

Comments
 (0)