Skip to content

Commit 8b18c1a

Browse files
authored
Update pack-libs.yml
1 parent f9731da commit 8b18c1a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/pack-libs.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: PHP Pack Lib
22

33
on:
44
workflow_dispatch:
5+
schedule:
6+
- cron: "0 0 * * 5"
57
release:
68
types:
79
- published
@@ -165,7 +167,7 @@ jobs:
165167
files: dist/${{ matrix.lib }}-${{ steps.process-env.outputs.ARCH }}-${{ steps.process-env.outputs.OS }}.txz
166168

167169
- 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')
169171
shell: bash
170172
run: |
171173
ref="$(gh release view --repo static-php/static-php-cli-hosted --json tagName --jq '.tagName')"

0 commit comments

Comments
 (0)