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 @@ -2,6 +2,8 @@ name: PHP Pack Lib
2
2
3
3
on :
4
4
workflow_dispatch :
5
+ schedule :
6
+ - cron : " 0 0 * * 5"
5
7
release :
6
8
types :
7
9
- published
@@ -165,7 +167,7 @@ jobs:
165
167
files : dist/${{ matrix.lib }}-${{ steps.process-env.outputs.ARCH }}-${{ steps.process-env.outputs.OS }}.txz
166
168
167
169
- name : " Update latest release of hosted repo"
168
- if : github.repository == 'static-php/static-php-cli-hosted' && github.event_name == 'workflow_dispatch'
170
+ if : github.repository == 'static-php/static-php-cli-hosted' && ( github.event_name == 'workflow_dispatch' || github.event_name == 'schedule')
169
171
shell : bash
170
172
run : |
171
173
ref="$(gh release view --repo static-php/static-php-cli-hosted --json tagName --jq '.tagName')"
You can’t perform that action at this time.
0 commit comments