diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index beb4728c..c4f70295 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,7 @@ jobs: - run: ./release_make/CI.sh - uses: actions/upload-artifact@v4 + if: github.event_name != 'pull_request' with: name: Fairyground-Windows-x86_64 path: ./release_make/release-builds/win/x64/fairyground.7z @@ -22,6 +23,7 @@ jobs: if-no-files-found: error - uses: actions/upload-artifact@v4 + if: github.event_name != 'pull_request' with: name: Fairyground-Windows-ARM64 path: ./release_make/release-builds/win/arm64/fairyground.7z @@ -29,6 +31,7 @@ jobs: if-no-files-found: error - uses: actions/upload-artifact@v4 + if: github.event_name != 'pull_request' with: name: Fairyground-Linux-x86_64 path: ./release_make/release-builds/linux/x64/fairyground.7z @@ -36,6 +39,7 @@ jobs: if-no-files-found: error - uses: actions/upload-artifact@v4 + if: github.event_name != 'pull_request' with: name: Fairyground-Linux-ARM64 path: ./release_make/release-builds/linux/arm64/fairyground.7z @@ -43,6 +47,7 @@ jobs: if-no-files-found: error - uses: actions/upload-artifact@v4 + if: github.event_name != 'pull_request' with: name: Fairyground-Script-AllPlatform path: ./release_make/release-builds/script/any/fairyground.7z @@ -50,6 +55,7 @@ jobs: if-no-files-found: error - uses: actions/upload-artifact@v4 + if: github.event_name != 'pull_request' with: name: Source_Code path: ./source.7z @@ -57,6 +63,7 @@ jobs: if-no-files-found: error - uses: mholetzko/annotate_runs@1.0.1 + if: github.event_name != 'pull_request' with: title: "Fairyground Download Notice" info: "Choose the version that matches your platform (i.e. CPU architecture and operating system).\n\"Fairyground-Script-AllPlatform\" is a script version that theorically supports all platforms but you need to install node.js before running it (See HOW_TO_USE.txt in the archive).\nOther versions are provided with a binary executable and are portable.\n ❗ If you don't know which version to download or no version suits your platform (e.g. macOS), select \"Fairyground-Script-AllPlatform\" and then follow HOW_TO_USE.txt in the archive." diff --git a/release_make/CI.sh b/release_make/CI.sh index ae4548df..e57461cb 100644 --- a/release_make/CI.sh +++ b/release_make/CI.sh @@ -34,7 +34,9 @@ echo "[Info] Continuous integration starts." sudo apt -y install p7zip-full || Error -7za a -y -t7z -m0=lzma2 -mx=9 -mfb=256 -md=256m -ms=on -mmt=$thread_count -xr!release_make -xr!.git ./source.7z ./* || Error +if [ "$GITHUB_EVENT_NAME" != "pull_request" ]; then + 7za a -y -t7z -m0=lzma2 -mx=9 -mfb=256 -md=256m -ms=on -mmt=$thread_count -xr!release_make -xr!.git ./source.7z ./* || Error +fi cd ./release_make @@ -146,11 +148,16 @@ echo "If it does not work, please check your node.js installation and make sure echo "[Info] CI build test OK." -7za a -y -t7z -m0=lzma2 -mx=9 -mfb=256 -md=256m -ms=on -mmt=$thread_count ./release_make/release-builds/win/x64/fairyground.7z ./release_make/release-builds/win/x64/* || Error -7za a -y -t7z -m0=lzma2 -mx=9 -mfb=256 -md=256m -ms=on -mmt=$thread_count ./release_make/release-builds/linux/x64/fairyground.7z ./release_make/release-builds/linux/x64/* || Error -7za a -y -t7z -m0=lzma2 -mx=9 -mfb=256 -md=256m -ms=on -mmt=$thread_count ./release_make/release-builds/win/arm64/fairyground.7z ./release_make/release-builds/win/arm64/* || Error -7za a -y -t7z -m0=lzma2 -mx=9 -mfb=256 -md=256m -ms=on -mmt=$thread_count ./release_make/release-builds/linux/arm64/fairyground.7z ./release_make/release-builds/linux/arm64/* || Error -7za a -y -t7z -m0=lzma2 -mx=9 -mfb=256 -md=256m -ms=on -mmt=$thread_count ./release_make/release-builds/script/any/fairyground.7z ./release_make/release-builds/script/any/* || Error +if [ "$GITHUB_EVENT_NAME" != "pull_request" ]; then + 7za a -y -t7z -m0=lzma2 -mx=9 -mfb=256 -md=256m -ms=on -mmt=$thread_count ./release_make/release-builds/win/x64/fairyground.7z ./release_make/release-builds/win/x64/* || Error + 7za a -y -t7z -m0=lzma2 -mx=9 -mfb=256 -md=256m -ms=on -mmt=$thread_count ./release_make/release-builds/linux/x64/fairyground.7z ./release_make/release-builds/linux/x64/* || Error + 7za a -y -t7z -m0=lzma2 -mx=9 -mfb=256 -md=256m -ms=on -mmt=$thread_count ./release_make/release-builds/win/arm64/fairyground.7z ./release_make/release-builds/win/arm64/* || Error + 7za a -y -t7z -m0=lzma2 -mx=9 -mfb=256 -md=256m -ms=on -mmt=$thread_count ./release_make/release-builds/linux/arm64/fairyground.7z ./release_make/release-builds/linux/arm64/* || Error + 7za a -y -t7z -m0=lzma2 -mx=9 -mfb=256 -md=256m -ms=on -mmt=$thread_count ./release_make/release-builds/script/any/fairyground.7z ./release_make/release-builds/script/any/* || Error + + echo "[Info] Artifacts are ready. Pending upload..." +else + echo "[Notice] Artifacts are not uploaded in pull requests." +fi -echo "[Info] Artifacts are ready. Pending upload..." exit 0 diff --git a/src/html/advanced.html b/src/html/advanced.html index a12ad9f6..dc69ff45 100644 --- a/src/html/advanced.html +++ b/src/html/advanced.html @@ -8469,7 +8469,7 @@ title: "Thai letters on bottom, Thai numbers on side.", }, - "Mukruk Thai Letter-Thai Algebraic (THAI_ALGEBRAIC)", + "Makruk Thai Letter-Thai Algebraic (THAI_ALGEBRAIC)", ), ], ),