File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -121,8 +121,8 @@ jobs:
121
121
done
122
122
package :
123
123
name : Update dist
124
- if : " always() && !contains(github.event.head_commit.message, 'skip-release')"
125
- needs : test
124
+ if : " !contains(github.event.head_commit.message, 'skip-release')"
125
+ needs : [build-php, test]
126
126
runs-on : ubuntu-latest
127
127
strategy :
128
128
fail-fast : false
@@ -156,8 +156,8 @@ jobs:
156
156
path : builds
157
157
release :
158
158
runs-on : ubuntu-latest
159
- if : " always() && !contains(github.event.head_commit.message, 'skip-release')"
160
- needs : package
159
+ if : " !contains(github.event.head_commit.message, 'skip-release')"
160
+ needs : [build-php, test, package]
161
161
steps :
162
162
- uses : actions/checkout@v2
163
163
- run : mkdir builds
Original file line number Diff line number Diff line change 3
3
cp -a php-build/definitions/* /usr/local/share/php-build/definitions/
4
4
cp -a php-build/patches/* .patch /usr/local/share/php-build/patches/
5
5
cp /usr/local/share/php-build/default_configure_options /usr/local/share/php-build/default_configure_options.bak
6
+
7
+ # Patch to enable opcache in opcache.ini instead of php.ini
8
+ sed -i " s|opcache.so\" >> \"\$ PREFIX/etc/php.ini|opcache.so\" >> \"\$ PREFIX/etc/conf.d/opcache.ini|" " $( command -v php-build) "
You can’t perform that action at this time.
0 commit comments