From 54b013d66eb916bda052fcde2a1452e5fd27f72e Mon Sep 17 00:00:00 2001 From: Lutkin Wang Date: Thu, 24 Mar 2022 09:11:15 +0800 Subject: [PATCH 01/14] Create OxygenCheckWellFormedNess.yml --- .../workflows/OxygenCheckWellFormedNess.yml | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/OxygenCheckWellFormedNess.yml diff --git a/.github/workflows/OxygenCheckWellFormedNess.yml b/.github/workflows/OxygenCheckWellFormedNess.yml new file mode 100644 index 00000000000..9ba107e7810 --- /dev/null +++ b/.github/workflows/OxygenCheckWellFormedNess.yml @@ -0,0 +1,41 @@ +# This workflow will use OxygenScript to build features. + +name: Awesome OxygenScript for DITA wellformedness check + +on: [pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'temurin' + - name: DITA wellformedness check + run: | + cd scripts/oxygen/scripts + ./validateCheckDITA.sh -i ../../../dita -r scripts/ditaValidationReport_cn.xml + ./validateCheckDITA.sh -i ../../../en-US/dita -r scripts/ditaValidationReport_en.xml + - name: Upload cn validation report to release + uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: scripts/ditaValidationReport_cn.xml + asset_name: ditaValidationReport_cn + tag: main + overwrite: true + body: "Comment release" + - name: Upload en validation report to release + uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: scripts/ditaValidationReport_en.xml + asset_name: ditaValidationReport_en + tag: main + overwrite: true + body: "Comment release" From 222d9fb91ec4d7464e3a034e8118bb3b33840d5e Mon Sep 17 00:00:00 2001 From: Lutkin Wang Date: Thu, 24 Mar 2022 09:13:07 +0800 Subject: [PATCH 02/14] Update OxygenCheckWellFormedNess.yml --- .github/workflows/OxygenCheckWellFormedNess.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/OxygenCheckWellFormedNess.yml b/.github/workflows/OxygenCheckWellFormedNess.yml index 9ba107e7810..c6092a499c3 100644 --- a/.github/workflows/OxygenCheckWellFormedNess.yml +++ b/.github/workflows/OxygenCheckWellFormedNess.yml @@ -19,8 +19,8 @@ jobs: - name: DITA wellformedness check run: | cd scripts/oxygen/scripts - ./validateCheckDITA.sh -i ../../../dita -r scripts/ditaValidationReport_cn.xml - ./validateCheckDITA.sh -i ../../../en-US/dita -r scripts/ditaValidationReport_en.xml + ./validateCheckDITA.sh -i ../../../dita -r ../../ditaValidationReport_cn.xml + ./validateCheckDITA.sh -i ../../../en-US/dita -r ../../ditaValidationReport_en.xml - name: Upload cn validation report to release uses: svenstaro/upload-release-action@v2 with: From babf76f30a26443975750ea8631c6d792d7a69f9 Mon Sep 17 00:00:00 2001 From: Lutkin Wang Date: Thu, 24 Mar 2022 09:15:38 +0800 Subject: [PATCH 03/14] Update OxygenCheckWellFormedNess.yml --- .github/workflows/OxygenCheckWellFormedNess.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/OxygenCheckWellFormedNess.yml b/.github/workflows/OxygenCheckWellFormedNess.yml index c6092a499c3..9101f1cf6bf 100644 --- a/.github/workflows/OxygenCheckWellFormedNess.yml +++ b/.github/workflows/OxygenCheckWellFormedNess.yml @@ -19,8 +19,8 @@ jobs: - name: DITA wellformedness check run: | cd scripts/oxygen/scripts - ./validateCheckDITA.sh -i ../../../dita -r ../../ditaValidationReport_cn.xml - ./validateCheckDITA.sh -i ../../../en-US/dita -r ../../ditaValidationReport_en.xml + ./validateCheckDITA.sh -i ../../../dita/rtc_api.xpr -r ../../ditaValidationReport_cn.xml + ./validateCheckDITA.sh -i ../../../en-US/dita/rtc_api.xpr -r ../../ditaValidationReport_en.xml - name: Upload cn validation report to release uses: svenstaro/upload-release-action@v2 with: From d17e9445c822b217777c3a67081875696d0f506e Mon Sep 17 00:00:00 2001 From: Lutkin Wang Date: Thu, 24 Mar 2022 09:17:41 +0800 Subject: [PATCH 04/14] Update OxygenCheckWellFormedNess.yml --- .github/workflows/OxygenCheckWellFormedNess.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/OxygenCheckWellFormedNess.yml b/.github/workflows/OxygenCheckWellFormedNess.yml index 9101f1cf6bf..9defaeb8479 100644 --- a/.github/workflows/OxygenCheckWellFormedNess.yml +++ b/.github/workflows/OxygenCheckWellFormedNess.yml @@ -19,13 +19,13 @@ jobs: - name: DITA wellformedness check run: | cd scripts/oxygen/scripts - ./validateCheckDITA.sh -i ../../../dita/rtc_api.xpr -r ../../ditaValidationReport_cn.xml - ./validateCheckDITA.sh -i ../../../en-US/dita/rtc_api.xpr -r ../../ditaValidationReport_en.xml + ./validateCheckDITA.sh -i ../../../dita/rtc_api.xpr -r ditaValidationReport_cn.xml + ./validateCheckDITA.sh -i ../../../en-US/dita/rtc_api.xpr -r ditaValidationReport_en.xml - name: Upload cn validation report to release uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} - file: scripts/ditaValidationReport_cn.xml + file: scripts/oxygen/scripts/ditaValidationReport_cn.xml asset_name: ditaValidationReport_cn tag: main overwrite: true @@ -34,7 +34,7 @@ jobs: uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} - file: scripts/ditaValidationReport_en.xml + file: scripts/oxygen/scripts/ditaValidationReport_en.xml asset_name: ditaValidationReport_en tag: main overwrite: true From 619a0f2d5f105c3a436cff52423a114a0f775a0d Mon Sep 17 00:00:00 2001 From: Lutkin Wang Date: Thu, 24 Mar 2022 09:48:42 +0800 Subject: [PATCH 05/14] Update OxygenCheckWellFormedNess.yml --- .../workflows/OxygenCheckWellFormedNess.yml | 39 ++++++++++--------- 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/.github/workflows/OxygenCheckWellFormedNess.yml b/.github/workflows/OxygenCheckWellFormedNess.yml index 9defaeb8479..0d66288ed89 100644 --- a/.github/workflows/OxygenCheckWellFormedNess.yml +++ b/.github/workflows/OxygenCheckWellFormedNess.yml @@ -20,22 +20,25 @@ jobs: run: | cd scripts/oxygen/scripts ./validateCheckDITA.sh -i ../../../dita/rtc_api.xpr -r ditaValidationReport_cn.xml + + if [ $? -eq 0 ] + then + echo "Validation successful for cn DITA files" + exit 0 + else + echo "Validation failure for cn DITA files" + echo ditaValidationReport_cn.xml + exit 1 + fi + ./validateCheckDITA.sh -i ../../../en-US/dita/rtc_api.xpr -r ditaValidationReport_en.xml - - name: Upload cn validation report to release - uses: svenstaro/upload-release-action@v2 - with: - repo_token: ${{ secrets.GITHUB_TOKEN }} - file: scripts/oxygen/scripts/ditaValidationReport_cn.xml - asset_name: ditaValidationReport_cn - tag: main - overwrite: true - body: "Comment release" - - name: Upload en validation report to release - uses: svenstaro/upload-release-action@v2 - with: - repo_token: ${{ secrets.GITHUB_TOKEN }} - file: scripts/oxygen/scripts/ditaValidationReport_en.xml - asset_name: ditaValidationReport_en - tag: main - overwrite: true - body: "Comment release" + + if [ $? -eq 0 ] + then + echo "Validation successful for en DITA files" + exit 0 + else + echo "Validation failure for en DITA files" + echo ditaValidationReport_en.xml + exit 1 + fi From da8b929004d9ebf630883b1e4f4b293e94cf3b6c Mon Sep 17 00:00:00 2001 From: Lutkin Wang Date: Thu, 24 Mar 2022 09:52:33 +0800 Subject: [PATCH 06/14] Update OxygenCheckWellFormedNess.yml --- .../workflows/OxygenCheckWellFormedNess.yml | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/.github/workflows/OxygenCheckWellFormedNess.yml b/.github/workflows/OxygenCheckWellFormedNess.yml index 0d66288ed89..7ccfd66d81f 100644 --- a/.github/workflows/OxygenCheckWellFormedNess.yml +++ b/.github/workflows/OxygenCheckWellFormedNess.yml @@ -20,25 +20,4 @@ jobs: run: | cd scripts/oxygen/scripts ./validateCheckDITA.sh -i ../../../dita/rtc_api.xpr -r ditaValidationReport_cn.xml - - if [ $? -eq 0 ] - then - echo "Validation successful for cn DITA files" - exit 0 - else - echo "Validation failure for cn DITA files" - echo ditaValidationReport_cn.xml - exit 1 - fi - ./validateCheckDITA.sh -i ../../../en-US/dita/rtc_api.xpr -r ditaValidationReport_en.xml - - if [ $? -eq 0 ] - then - echo "Validation successful for en DITA files" - exit 0 - else - echo "Validation failure for en DITA files" - echo ditaValidationReport_en.xml - exit 1 - fi From caab505a443e73d8a783870d0670df2e66539ad0 Mon Sep 17 00:00:00 2001 From: Lutkin Wang Date: Thu, 24 Mar 2022 09:57:59 +0800 Subject: [PATCH 07/14] Update OxygenCheckWellFormedNess.yml --- .github/workflows/OxygenCheckWellFormedNess.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/OxygenCheckWellFormedNess.yml b/.github/workflows/OxygenCheckWellFormedNess.yml index 7ccfd66d81f..d82bf443e46 100644 --- a/.github/workflows/OxygenCheckWellFormedNess.yml +++ b/.github/workflows/OxygenCheckWellFormedNess.yml @@ -19,5 +19,5 @@ jobs: - name: DITA wellformedness check run: | cd scripts/oxygen/scripts - ./validateCheckDITA.sh -i ../../../dita/rtc_api.xpr -r ditaValidationReport_cn.xml - ./validateCheckDITA.sh -i ../../../en-US/dita/rtc_api.xpr -r ditaValidationReport_en.xml + ./validateCheckDITA.sh -i ../../../dita/rtc_api.xpr -r ditaValidationReport_cn.xml || cat ditaValidationReport_cn.xml + ./validateCheckDITA.sh -i ../../../en-US/dita/rtc_api.xpr -r ditaValidationReport_en.xml || ditaValidationReport_en.xml From 3ec46bb2f233e8af0153e7fd109a4f6003902843 Mon Sep 17 00:00:00 2001 From: Lutkin Wang Date: Thu, 24 Mar 2022 10:04:06 +0800 Subject: [PATCH 08/14] Update OxygenCheckWellFormedNess.yml --- .github/workflows/OxygenCheckWellFormedNess.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/OxygenCheckWellFormedNess.yml b/.github/workflows/OxygenCheckWellFormedNess.yml index d82bf443e46..a41982df81b 100644 --- a/.github/workflows/OxygenCheckWellFormedNess.yml +++ b/.github/workflows/OxygenCheckWellFormedNess.yml @@ -20,4 +20,4 @@ jobs: run: | cd scripts/oxygen/scripts ./validateCheckDITA.sh -i ../../../dita/rtc_api.xpr -r ditaValidationReport_cn.xml || cat ditaValidationReport_cn.xml - ./validateCheckDITA.sh -i ../../../en-US/dita/rtc_api.xpr -r ditaValidationReport_en.xml || ditaValidationReport_en.xml + ./validateCheckDITA.sh -i ../../../en-US/dita/rtc_api.xpr -r ditaValidationReport_en.xml || cat ditaValidationReport_en.xml From 22dd7f9c6296775f8c50ad7be47e1b4642ac4759 Mon Sep 17 00:00:00 2001 From: Lutkin Wang Date: Thu, 24 Mar 2022 10:07:40 +0800 Subject: [PATCH 09/14] Update OxygenCheckWellFormedNess.yml --- .github/workflows/OxygenCheckWellFormedNess.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/OxygenCheckWellFormedNess.yml b/.github/workflows/OxygenCheckWellFormedNess.yml index a41982df81b..553a110c6f9 100644 --- a/.github/workflows/OxygenCheckWellFormedNess.yml +++ b/.github/workflows/OxygenCheckWellFormedNess.yml @@ -19,5 +19,12 @@ jobs: - name: DITA wellformedness check run: | cd scripts/oxygen/scripts - ./validateCheckDITA.sh -i ../../../dita/rtc_api.xpr -r ditaValidationReport_cn.xml || cat ditaValidationReport_cn.xml - ./validateCheckDITA.sh -i ../../../en-US/dita/rtc_api.xpr -r ditaValidationReport_en.xml || cat ditaValidationReport_en.xml + ./validateCheckDITA.sh -i ../../../dita/RTC/RTC_NG_API_Windows.ditamap -r ditaValidationReport_cn.xml || cat ditaValidationReport_cn.xml + ./validateCheckDITA.sh -i ../../../dita/RTC/RTC_NG_API_iOS.ditamap -r ditaValidationReport_cn.xml || cat ditaValidationReport_cn.xml + ./validateCheckDITA.sh -i ../../../dita/RTC/RTC_NG_API_Android.ditamap -r ditaValidationReport_cn.xml || cat ditaValidationReport_cn.xml + ./validateCheckDITA.sh -i ../../../dita/RTC/RTC_API_Flutter.ditamap -r ditaValidationReport_cn.xml || cat ditaValidationReport_cn.xml + + ./validateCheckDITA.sh -i ../../../en-US/dita/RTC_NG_API_Windows.ditamap -r ditaValidationReport_en.xml || cat ditaValidationReport_en.xml + ./validateCheckDITA.sh -i ../../../en-US/dita/RTC_NG_API_iOS.ditamap -r ditaValidationReport_en.xml || cat ditaValidationReport_en.xml + ./validateCheckDITA.sh -i ../../../dita/RTC/RTC_NG_API_Android.ditamap -r ditaValidationReport_cn.xml || cat ditaValidationReport_cn.xml + ./validateCheckDITA.sh -i ../../../dita/RTC/RTC_API_Flutter.ditamap. -r ditaValidationReport_cn.xml || cat ditaValidationReport_cn.xml From f0ce35d716aa29c6b73a942b01c8df07d3215a87 Mon Sep 17 00:00:00 2001 From: Lutkin Wang Date: Thu, 24 Mar 2022 10:19:05 +0800 Subject: [PATCH 10/14] Update OxygenCheckWellFormedNess.yml --- .github/workflows/OxygenCheckWellFormedNess.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/OxygenCheckWellFormedNess.yml b/.github/workflows/OxygenCheckWellFormedNess.yml index 553a110c6f9..7500604b357 100644 --- a/.github/workflows/OxygenCheckWellFormedNess.yml +++ b/.github/workflows/OxygenCheckWellFormedNess.yml @@ -19,12 +19,5 @@ jobs: - name: DITA wellformedness check run: | cd scripts/oxygen/scripts - ./validateCheckDITA.sh -i ../../../dita/RTC/RTC_NG_API_Windows.ditamap -r ditaValidationReport_cn.xml || cat ditaValidationReport_cn.xml - ./validateCheckDITA.sh -i ../../../dita/RTC/RTC_NG_API_iOS.ditamap -r ditaValidationReport_cn.xml || cat ditaValidationReport_cn.xml - ./validateCheckDITA.sh -i ../../../dita/RTC/RTC_NG_API_Android.ditamap -r ditaValidationReport_cn.xml || cat ditaValidationReport_cn.xml - ./validateCheckDITA.sh -i ../../../dita/RTC/RTC_API_Flutter.ditamap -r ditaValidationReport_cn.xml || cat ditaValidationReport_cn.xml - - ./validateCheckDITA.sh -i ../../../en-US/dita/RTC_NG_API_Windows.ditamap -r ditaValidationReport_en.xml || cat ditaValidationReport_en.xml - ./validateCheckDITA.sh -i ../../../en-US/dita/RTC_NG_API_iOS.ditamap -r ditaValidationReport_en.xml || cat ditaValidationReport_en.xml - ./validateCheckDITA.sh -i ../../../dita/RTC/RTC_NG_API_Android.ditamap -r ditaValidationReport_cn.xml || cat ditaValidationReport_cn.xml - ./validateCheckDITA.sh -i ../../../dita/RTC/RTC_API_Flutter.ditamap. -r ditaValidationReport_cn.xml || cat ditaValidationReport_cn.xml + ./validateCheckDITA.sh -i ../../../dita/output-api-rtc-ng.xml -r ditaValidationReport_cn.xml || cat ditaValidationReport_cn.xml + ./validateCheckDITA.sh -i ../../../en-US/dita/output-api-rtc-ng.xml -r ditaValidationReport_en.xml || cat ditaValidationReport_en.xml From 50aed7471c063a56baa66d82e8d31e876f739e62 Mon Sep 17 00:00:00 2001 From: Lutkin Wang Date: Thu, 24 Mar 2022 10:20:57 +0800 Subject: [PATCH 11/14] Update OxygenCheckWellFormedNess.yml --- .github/workflows/OxygenCheckWellFormedNess.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/OxygenCheckWellFormedNess.yml b/.github/workflows/OxygenCheckWellFormedNess.yml index 7500604b357..ab291be1d2e 100644 --- a/.github/workflows/OxygenCheckWellFormedNess.yml +++ b/.github/workflows/OxygenCheckWellFormedNess.yml @@ -19,5 +19,5 @@ jobs: - name: DITA wellformedness check run: | cd scripts/oxygen/scripts - ./validateCheckDITA.sh -i ../../../dita/output-api-rtc-ng.xml -r ditaValidationReport_cn.xml || cat ditaValidationReport_cn.xml - ./validateCheckDITA.sh -i ../../../en-US/dita/output-api-rtc-ng.xml -r ditaValidationReport_en.xml || cat ditaValidationReport_en.xml + ./validateCheckDITA.sh -i ../../../dita/.config/output-api-rtc-ng.xml -r ditaValidationReport_cn.xml || cat ditaValidationReport_cn.xml + ./validateCheckDITA.sh -i ../../../en-US/dita/.config/output-api-rtc-ng.xml -r ditaValidationReport_en.xml || cat ditaValidationReport_en.xml From ba16fa352309ba92078ce3899157aef3ada8f2dd Mon Sep 17 00:00:00 2001 From: Lutkin Wang Date: Thu, 24 Mar 2022 10:41:26 +0800 Subject: [PATCH 12/14] Update OxygenCheckWellFormedNess.yml --- .github/workflows/OxygenCheckWellFormedNess.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/OxygenCheckWellFormedNess.yml b/.github/workflows/OxygenCheckWellFormedNess.yml index ab291be1d2e..e6fd2c29e1f 100644 --- a/.github/workflows/OxygenCheckWellFormedNess.yml +++ b/.github/workflows/OxygenCheckWellFormedNess.yml @@ -21,3 +21,7 @@ jobs: cd scripts/oxygen/scripts ./validateCheckDITA.sh -i ../../../dita/.config/output-api-rtc-ng.xml -r ditaValidationReport_cn.xml || cat ditaValidationReport_cn.xml ./validateCheckDITA.sh -i ../../../en-US/dita/.config/output-api-rtc-ng.xml -r ditaValidationReport_en.xml || cat ditaValidationReport_en.xml + + # Just wanna an exit 0 + ./validateCheckDITA.sh -i ../../../dita/.config/output-api-rtc-ng.xml -r ditaValidationReport_cn.xml + ./validateCheckDITA.sh -i ../../../en-US/dita/.config/output-api-rtc-ng.xml -r ditaValidationReport_en.xml From ea02a8c89d72e0d6808a2e700bcd2435d60da5da Mon Sep 17 00:00:00 2001 From: Lutkin Wang Date: Thu, 24 Mar 2022 11:11:43 +0800 Subject: [PATCH 13/14] Update OxygenCheckWellFormedNess.yml --- .../workflows/OxygenCheckWellFormedNess.yml | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/.github/workflows/OxygenCheckWellFormedNess.yml b/.github/workflows/OxygenCheckWellFormedNess.yml index e6fd2c29e1f..73f913b7802 100644 --- a/.github/workflows/OxygenCheckWellFormedNess.yml +++ b/.github/workflows/OxygenCheckWellFormedNess.yml @@ -19,9 +19,23 @@ jobs: - name: DITA wellformedness check run: | cd scripts/oxygen/scripts - ./validateCheckDITA.sh -i ../../../dita/.config/output-api-rtc-ng.xml -r ditaValidationReport_cn.xml || cat ditaValidationReport_cn.xml - ./validateCheckDITA.sh -i ../../../en-US/dita/.config/output-api-rtc-ng.xml -r ditaValidationReport_en.xml || cat ditaValidationReport_en.xml + ./validateCheckDITA.sh -i ../../../dita/RTC/RTC_NG_API_Android.ditamap -r ditaValidationReport_cn.xml || cat ditaValidationReport_cn.xml + ./validateCheckDITA.sh -i ../../../dita/RTC/RTC_NG_API_Windows.ditamap -r ditaValidationReport_cn.xml || cat ditaValidationReport_cn.xml + ./validateCheckDITA.sh -i ../../../dita/RTC/RTC_NG_API_iOS.ditamap -r ditaValidationReport_cn.xml || cat ditaValidationReport_cn.xml + ./validateCheckDITA.sh -i ../../../dita/RTC/RTC_API_Flutter.ditamap -r ditaValidationReport_cn.xml || cat ditaValidationReport_cn.xml + + ./validateCheckDITA.sh -i ../../../en-US/dita/RTC/RTC_NG_API_Android.ditamap -r ditaValidationReport_en.xml || cat ditaValidationReport_en.xml + ./validateCheckDITA.sh -i ../../../en-US/dita/RTC/RTC_NG_API_Windows.ditamap -r ditaValidationReport_en.xml || cat ditaValidationReport_en.xml + ./validateCheckDITA.sh -i ../../../en-US/dita/RTC/RTC_NG_API_iOS.ditamap -r ditaValidationReport_en.xml || cat ditaValidationReport_en.xml + ./validateCheckDITA.sh -i ../../../en-US/dita/RTC/RTC_API_Flutter.ditamap -r ditaValidationReport_en.xml || cat ditaValidationReport_en.xml # Just wanna an exit 0 - ./validateCheckDITA.sh -i ../../../dita/.config/output-api-rtc-ng.xml -r ditaValidationReport_cn.xml - ./validateCheckDITA.sh -i ../../../en-US/dita/.config/output-api-rtc-ng.xml -r ditaValidationReport_en.xml + ./validateCheckDITA.sh -i ../../../dita/RTC/RTC_NG_API_Android.ditamap -r ditaValidationReport_cn.xml + ./validateCheckDITA.sh -i ../../../dita/RTC/RTC_NG_API_Windows.ditamap -r ditaValidationReport_cn.xml + ./validateCheckDITA.sh -i ../../../dita/RTC/RTC_NG_API_iOS.ditamap -r ditaValidationReport_cn.xml + ./validateCheckDITA.sh -i ../../../dita/RTC/RTC_API_Flutter.ditamap -r ditaValidationReport_cn.xml + + ./validateCheckDITA.sh -i ../../../en-US/dita/RTC/RTC_NG_API_Android.ditamap -r ditaValidationReport_en.xml + ./validateCheckDITA.sh -i ../../../en-US/dita/RTC/RTC_NG_API_Windows.ditamap -r ditaValidationReport_en.xml + ./validateCheckDITA.sh -i ../../../en-US/dita/RTC/RTC_NG_API_iOS.ditamap -r ditaValidationReport_en.xml + ./validateCheckDITA.sh -i ../../../en-US/dita/RTC/RTC_API_Flutter.ditamap -r ditaValidationReport_en.xml From 3d55c066af72fcd868c173faf803a6822eb58536 Mon Sep 17 00:00:00 2001 From: Lutkin Wang Date: Thu, 24 Mar 2022 11:36:13 +0800 Subject: [PATCH 14/14] Update OxygenCheckWellFormedNess.yml --- .github/workflows/OxygenCheckWellFormedNess.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/OxygenCheckWellFormedNess.yml b/.github/workflows/OxygenCheckWellFormedNess.yml index 73f913b7802..197fc474fda 100644 --- a/.github/workflows/OxygenCheckWellFormedNess.yml +++ b/.github/workflows/OxygenCheckWellFormedNess.yml @@ -19,14 +19,22 @@ jobs: - name: DITA wellformedness check run: | cd scripts/oxygen/scripts + echo "Checking dita/RTC/RTC_NG_API_Android.ditamap ..." ./validateCheckDITA.sh -i ../../../dita/RTC/RTC_NG_API_Android.ditamap -r ditaValidationReport_cn.xml || cat ditaValidationReport_cn.xml + echo "Checking dita/RTC/RTC_NG_API_Windows.ditamap ..." ./validateCheckDITA.sh -i ../../../dita/RTC/RTC_NG_API_Windows.ditamap -r ditaValidationReport_cn.xml || cat ditaValidationReport_cn.xml + echo "Checking dita/RTC/RTC_NG_API_iOS.ditamap ..." ./validateCheckDITA.sh -i ../../../dita/RTC/RTC_NG_API_iOS.ditamap -r ditaValidationReport_cn.xml || cat ditaValidationReport_cn.xml + echo "Checking dita/RTC/RTC_API_Flutter.ditamap ..." ./validateCheckDITA.sh -i ../../../dita/RTC/RTC_API_Flutter.ditamap -r ditaValidationReport_cn.xml || cat ditaValidationReport_cn.xml + echo "Checking dita/RTC/RTC_NG_API_Android.ditamap ..." ./validateCheckDITA.sh -i ../../../en-US/dita/RTC/RTC_NG_API_Android.ditamap -r ditaValidationReport_en.xml || cat ditaValidationReport_en.xml + echo "Checking dita/RTC/RTC_NG_API_Windows.ditamap ..." ./validateCheckDITA.sh -i ../../../en-US/dita/RTC/RTC_NG_API_Windows.ditamap -r ditaValidationReport_en.xml || cat ditaValidationReport_en.xml + echo "Checking dita/RTC/RTC_NG_API_iOS.ditamap ..." ./validateCheckDITA.sh -i ../../../en-US/dita/RTC/RTC_NG_API_iOS.ditamap -r ditaValidationReport_en.xml || cat ditaValidationReport_en.xml + echo "Checking dita/RTC/RTC_API_Flutter.ditamap ..." ./validateCheckDITA.sh -i ../../../en-US/dita/RTC/RTC_API_Flutter.ditamap -r ditaValidationReport_en.xml || cat ditaValidationReport_en.xml # Just wanna an exit 0