- Timestamp:
- 11/17/2023 06:22:49 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/callable-test-core-build-process.yml
r56976 r57124 33 33 # - Cleans up after building WordPress. 34 34 # - Ensures version-controlled files are not modified or deleted. 35 # - Creates a ZIP of the built WordPress files (when building to the build directory). 36 # - Uploads the ZIP as a GitHub Actions artifact (when building to the build directory). 35 37 build-process-tests: 36 38 name: Core running from ${{ inputs.directory }} / ${{ inputs.os == 'macos-latest' && 'MacOS' || inputs.os == 'windows-latest' && 'Windows' || 'Linux' }} … … 72 74 - name: Ensure version-controlled files are not modified or deleted during cleaning 73 75 run: git diff --exit-code 76 77 - name: Create ZIP of built files 78 if: ${{ inputs.directory == 'build' && 'ubuntu-latest' == inputs.os }} 79 run: zip -r wordpress.zip build/. 80 81 - name: Upload ZIP as a GitHub Actions artifact 82 uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2 83 if: ${{ inputs.directory == 'build' && 'ubuntu-latest' == inputs.os }} 84 with: 85 name: wordpress-build-${{ github.event_name == 'pull_request' && github.event.number || github.sha }} 86 path: wordpress.zip 87 if-no-files-found: error
Note: See TracChangeset
for help on using the changeset viewer.