Changeset 58345
- Timestamp:
- 06/05/2024 06:23:08 PM (4 months ago)
- Location:
- trunk/.github/workflows
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/reusable-test-core-build-process.yml
r58274 r58345 22 22 type: 'boolean' 23 23 default: true 24 save-build: 25 description: 'Whether to save a ZIP of built WordPress as an artifact.' 26 required: false 27 type: 'boolean' 28 default: false 24 29 prepare-playground: 25 30 description: 'Whether to prepare the artifacts needed for Playground testing.' … … 98 103 - name: Upload ZIP as a GitHub Actions artifact 99 104 uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 100 if: ${{ inputs. prepare-playground }}105 if: ${{ inputs.save-build || inputs.prepare-playground }} 101 106 with: 102 107 name: wordpress-build-${{ github.event_name == 'pull_request' && github.event.number || github.sha }} … … 105 110 106 111 - name: Save PR number 107 if: ${{ inputs.prepare-playground && github.repository == 'WordPress/wordpress-develop' && github.event_name == 'pull_request'}}112 if: ${{ inputs.prepare-playground }} 108 113 run: | 109 114 mkdir -p ./pr-number -
trunk/.github/workflows/test-build-processes.yml
r58274 r58345 45 45 - os: ubuntu-latest 46 46 directory: 'build' 47 prepare-playground: true 47 save-build: true 48 prepare-playground: ${{ github.event_name == 'pull_request' && true || '' }} 49 48 50 with: 49 51 os: ${{ matrix.os }} 50 52 directory: ${{ matrix.directory }} 53 save-build: ${{ matrix.save-build && matrix.save-build || false }} 51 54 prepare-playground: ${{ matrix.prepare-playground && matrix.prepare-playground || false }} 52 55
Note: See TracChangeset
for help on using the changeset viewer.