mirror of
https://github.com/php/doc-en.git
synced 2026-03-23 23:32:18 +01:00
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
59 lines
1.4 KiB
YAML
59 lines
1.4 KiB
YAML
# https://docs.github.com/en/actions
|
|
|
|
name: "Integrate"
|
|
|
|
on:
|
|
pull_request: null
|
|
push:
|
|
branches:
|
|
- "master"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
name: "Build"
|
|
|
|
runs-on: "ubuntu-22.04"
|
|
|
|
strategy:
|
|
matrix:
|
|
language:
|
|
- "en"
|
|
|
|
steps:
|
|
- name: "Checkout php/doc-${{ matrix.language }}"
|
|
uses: "actions/checkout@v6"
|
|
with:
|
|
path: "${{ matrix.language }}"
|
|
repository: "php/doc-${{ matrix.language }}"
|
|
|
|
- name: "Checkout php/doc-en as fallback"
|
|
if: "matrix.language != 'en'"
|
|
uses: "actions/checkout@v6"
|
|
with:
|
|
path: "en"
|
|
repository: "php/doc-en"
|
|
|
|
- name: "Checkout php/doc-base"
|
|
uses: "actions/checkout@v6"
|
|
with:
|
|
path: "doc-base"
|
|
repository: "php/doc-base"
|
|
|
|
- name: "Quality Assurance scripts"
|
|
run: |
|
|
php8.1 doc-base/scripts/qa/extensions.xml.php --check
|
|
php8.1 doc-base/scripts/qa/section-order.php
|
|
|
|
- name: "Build documentation for ${{ matrix.language }}"
|
|
run: "php8.1 doc-base/configure.php --disable-libxml-check --enable-xml-details --redirect-stderr-to-stdout --with-lang=${{ matrix.language }}"
|
|
|
|
- name: "Upload .manual.xml"
|
|
uses: actions/upload-artifact@v7
|
|
with:
|
|
name: .manual.xml
|
|
path: doc-base/.manual.xml
|
|
include-hidden-files: true
|