Skip to content

Commit 30982c3

Browse files
authored
Merge branch 'main' into copilot/add-set-command-to-docs
2 parents fe20a94 + 647cd15 commit 30982c3

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/regenerate-handbook.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,23 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Check out source code
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v6
1818

19-
- name: Set up PHP
19+
- name: Set up PHP environment
2020
uses: shivammathur/setup-php@v2
2121
with:
2222
php-version: 'latest'
23-
coverage: none
23+
coverage: 'none'
24+
env:
25+
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2426

25-
- name: Install Composer dependencies
26-
run: composer install --no-dev
27+
- name: Install Composer dependencies & cache dependencies
28+
uses: "ramsey/composer-install@v3"
29+
env:
30+
COMPOSER_ROOT_VERSION: dev-${{ github.event.repository.default_branch }}
31+
with:
32+
# Bust the cache at least once a month - output format: YYYY-MM.
33+
custom-cache-suffix: $(date -u "+%Y-%m")
2734

2835
- name: Download WP-CLI nightly
2936
run: |

0 commit comments

Comments
 (0)