- Timestamp:
- 09/16/2025 12:24:22 AM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/reusable-test-core-build-process.yml
r60692 r60765 18 18 default: 'src' 19 19 test-emoji: 20 description: 'Whether to run the grunt precommit:emojiscript.'20 description: 'Whether to run the precommit:emoji Grunt script.' 21 21 required: false 22 22 type: 'boolean' 23 23 default: true 24 test-certificates: 25 description: 'Whether to run the certificate related Grunt scripts.' 26 required: false 27 type: 'boolean' 28 default: false 24 29 save-build: 25 30 description: 'Whether to save a ZIP of built WordPress as an artifact.' … … 70 75 persist-credentials: false 71 76 77 # This date is used to ensure that the PHPCS cache is cleared at least once every week. 78 # http://man7.org/linux/man-pages/man1/date.1.html 79 - name: "Get last Monday's date" 80 id: get-date 81 if: ${{ inputs.test-certificates }} 82 run: echo "date=$(/bin/date -u --date='last Mon' "+%F")" >> "$GITHUB_OUTPUT" 83 84 # Since Composer dependencies are installed using `composer update` and no lock file is in version control, 85 # passing a custom cache suffix ensures that the cache is flushed at least once per week. 86 - name: Install Composer dependencies 87 if: ${{ inputs.test-certificates }} 88 uses: ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520 # v3.1.1 89 with: 90 custom-cache-suffix: ${{ steps.get-date.outputs.date }} 91 72 92 - name: Set up Node.js 73 93 uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 … … 91 111 env: 92 112 GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} 113 114 - name: Ensure certificates files are updated 115 if: ${{ inputs.test-certificates }} 116 run: npm run grunt copy:certificates && npm run grunt build:certificates 93 117 94 118 - name: Build WordPress to run from ${{ inputs.directory }}
Note: See TracChangeset
for help on using the changeset viewer.