mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-19 14:52:40 +08:00
478 lines
19 KiB
YAML
478 lines
19 KiB
YAML
name: <Web> Interface check
|
|
|
|
on: [pull_request]
|
|
|
|
# github.head_ref is only defined on pull_request events
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.actor }}-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
env:
|
|
PR_NUMBER: ${{ github.event.pull_request.number }}
|
|
|
|
jobs:
|
|
interface_check:
|
|
if:
|
|
(! contains(github.event.pull_request.body, '[X] does not change any runtime related code or build configuration'))
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '18.x'
|
|
|
|
- name: Setup emsdk
|
|
uses: dumganhar/setup-emsdk@997d2cde2deabda085a11f98e86e842915b0e846
|
|
with:
|
|
version: 3.1.41
|
|
actions-cache-folder: 'emsdk-cache-3.1.41'
|
|
|
|
- name: Verify
|
|
run: |
|
|
which emcc
|
|
emcc -v
|
|
|
|
- name: Install ninja
|
|
run: |
|
|
if ! command -v ninja &> /dev/null; then
|
|
echo "Ninja not found, installing..."
|
|
# sudo apt update
|
|
sudo apt install ninja-build
|
|
else
|
|
echo "Ninja is already installed."
|
|
fi
|
|
which ninja
|
|
|
|
- uses: actions/checkout@v4
|
|
name: Checkout Base Ref
|
|
with:
|
|
repository: ${{ github.event.pull_request.base.repo.full_name }}
|
|
ref: ${{ github.base_ref }}
|
|
path: './engine'
|
|
|
|
- name: Get Base Ref
|
|
working-directory: ./engine
|
|
run: |
|
|
echo "BASE_REF=$(git rev-parse HEAD)" >> $GITHUB_ENV
|
|
|
|
- uses: actions/checkout@v4
|
|
name: Checkout Head Ref
|
|
with:
|
|
ref: 'refs/pull/${{ github.event.pull_request.number }}/head'
|
|
path: './engine-HEAD'
|
|
fetch-depth: 0
|
|
|
|
- name: Head merges base
|
|
working-directory: ./engine-HEAD
|
|
run: |
|
|
git config user.name "Cocos CI"
|
|
git config user.email "cocos-ci@cocos.com"
|
|
echo "BASE_REF: ${{ env.BASE_REF }}"
|
|
HEAD_REF=$(git rev-parse HEAD)
|
|
echo "HEAD_REF: $HEAD_REF"
|
|
echo "--------------------------------------------------------"
|
|
echo "HEAD LOG:"
|
|
git --no-pager log -3
|
|
echo "--------------------------------------------------------"
|
|
git fetch origin ${{ env.BASE_REF }}
|
|
git reset --hard ${{ env.BASE_REF }}
|
|
echo "--------------------------------------------------------"
|
|
echo "BASE LOG:"
|
|
git --no-pager log -3
|
|
echo "--------------------------------------------------------"
|
|
CURRENT_REF=$(git rev-parse HEAD)
|
|
echo "---- $CURRENT_REF merges $HEAD_REF ----"
|
|
git merge $HEAD_REF
|
|
echo "--------------------------------------------------------"
|
|
echo "MERGED LOG:"
|
|
git --no-pager log -5
|
|
echo "--------------------------------------------------------"
|
|
|
|
- name: Show Refs
|
|
run: |
|
|
cd ./engine
|
|
echo "BASE LOG:"
|
|
git --no-pager log -3
|
|
cd ../engine-HEAD
|
|
echo "HEAD LOG:"
|
|
git --no-pager log -3
|
|
|
|
- name: Check for SPINE_VERSION in CMakeLists.txt (BASE)
|
|
run: |
|
|
cd ./engine/native/cocos/editor-support/spine-wasm
|
|
if grep -q "SPINE_VERSION" CMakeLists.txt; then
|
|
echo "FOUND_SPINE_VERSION_BASE=true"
|
|
echo "FOUND_SPINE_VERSION_BASE=true" >> $GITHUB_ENV
|
|
else
|
|
echo "FOUND_SPINE_VERSION_BASE=false"
|
|
echo "FOUND_SPINE_VERSION_BASE=false" >> $GITHUB_ENV
|
|
fi
|
|
|
|
- run: |
|
|
echo "EXT_VERSION=$(node ./engine/.github/workflows/get-native-external-version.js)" >> $GITHUB_ENV
|
|
|
|
- uses: actions/checkout@v4
|
|
name: Download external
|
|
with:
|
|
repository: cocos/cocos-engine-external
|
|
path: './engine/native/external'
|
|
ref: "${{ env.EXT_VERSION }}"
|
|
fetch-depth: 1
|
|
|
|
- name: Apply emscripten patches (BASE)
|
|
run: |
|
|
echo "--------------------------------- Save bind.cpp ---------------------------------"
|
|
cp $EMSDK/upstream/emscripten/system/lib/embind/bind.cpp $EMSDK/upstream/emscripten/system/lib/embind/bind.cpp.bak
|
|
echo "--------------------------------- Apply embind bind.cpp patches ---------------------------------"
|
|
cp -f ./engine/.github/workflows/emscripten-patches/embind/bind.cpp $EMSDK/upstream/emscripten/system/lib/embind/
|
|
echo "--------------------------------- Apply patches DONE! ---------------------------------"
|
|
cat $EMSDK/upstream/emscripten/system/lib/embind/bind.cpp
|
|
|
|
# - name: Build Spine 3.8 WASM (BASE)
|
|
# run: |
|
|
# cd ./engine/native/cocos/editor-support/spine-wasm
|
|
# rm -rf build-wasm
|
|
# mkdir build-wasm
|
|
# cd build-wasm
|
|
# emcmake cmake .. -GNinja
|
|
# ninja
|
|
# ls -l
|
|
|
|
# - name: Build Spine 3.8 ASMJS (BASE)
|
|
# run: |
|
|
# cd ./engine/native/cocos/editor-support/spine-wasm
|
|
# sed -i 's/set(BUILD_WASM 1)/set(BUILD_WASM 0)/g' CMakeLists.txt
|
|
# rm -rf build-asmjs
|
|
# mkdir build-asmjs
|
|
# cd build-asmjs
|
|
# emcmake cmake .. -GNinja
|
|
# ninja
|
|
# ls -l
|
|
|
|
# - name: Copy Spine 3.8 files to external directory (BASE)
|
|
# run: |
|
|
# if [[ $FOUND_SPINE_VERSION_BASE ]]; then
|
|
# SPINE_VERSION="3.8"
|
|
# fi
|
|
# DIST_PATH="dist/3.8"
|
|
# rm -rf $DIST_PATH
|
|
# mkdir -p $DIST_PATH
|
|
# cp ./engine/native/cocos/editor-support/spine-wasm/build-wasm/spine.wasm ./$DIST_PATH/
|
|
# cp ./engine/native/cocos/editor-support/spine-wasm/build-wasm/spine.js ./$DIST_PATH/spine.wasm.js
|
|
# cp ./engine/native/cocos/editor-support/spine-wasm/build-asmjs/spine.js.mem ./$DIST_PATH/
|
|
# cp ./engine/native/cocos/editor-support/spine-wasm/build-asmjs/spine.js ./$DIST_PATH/spine.asm.js
|
|
# mkdir -p ./engine/native/external/emscripten/spine/$SPINE_VERSION
|
|
# echo "-------- Before replace spine wasm -----------"
|
|
# ls -l ./engine/native/external/emscripten/spine/$SPINE_VERSION
|
|
# cp -f ./$DIST_PATH/* ./engine/native/external/emscripten/spine/$SPINE_VERSION
|
|
# echo "-------- After replace spine wasm ------------"
|
|
# ls -l ./engine/native/external/emscripten/spine/$SPINE_VERSION
|
|
# echo "-----------------------------------------------"
|
|
# cd ./engine/native/external
|
|
# git status
|
|
|
|
# - name: Build Spine 4.2 WASM (BASE)
|
|
# if: env.FOUND_SPINE_VERSION_BASE == 'true'
|
|
# run: |
|
|
# cd ./engine/native/cocos/editor-support/spine-wasm
|
|
# sed -i 's/set(BUILD_WASM 0)/set(BUILD_WASM 1)/g' CMakeLists.txt
|
|
# sed -i 's/set(SPINE_VERSION "3.8")/set(SPINE_VERSION "4.2")/g' CMakeLists.txt
|
|
# rm -rf build-wasm
|
|
# mkdir build-wasm
|
|
# cd build-wasm
|
|
# emcmake cmake .. -GNinja
|
|
# ninja
|
|
# ls -l
|
|
|
|
# - name: Build Spine 4.2 ASMJS (BASE)
|
|
# if: env.FOUND_SPINE_VERSION_BASE == 'true'
|
|
# run: |
|
|
# cd ./engine/native/cocos/editor-support/spine-wasm
|
|
# sed -i 's/set(SPINE_VERSION "3.8")/set(SPINE_VERSION "4.2")/g' CMakeLists.txt
|
|
# sed -i 's/set(BUILD_WASM 1)/set(BUILD_WASM 0)/g' CMakeLists.txt
|
|
# rm -rf build-asmjs
|
|
# mkdir build-asmjs
|
|
# cd build-asmjs
|
|
# emcmake cmake .. -GNinja
|
|
# ninja
|
|
# ls -l
|
|
|
|
# - name: Copy Spine 4.2 files to external directory (BASE)
|
|
# if: env.FOUND_SPINE_VERSION_BASE == 'true'
|
|
# run: |
|
|
# DIST_PATH="dist/4.2"
|
|
# rm -rf $DIST_PATH
|
|
# mkdir -p $DIST_PATH
|
|
# cp ./engine/native/cocos/editor-support/spine-wasm/build-wasm/spine.wasm ./$DIST_PATH/
|
|
# cp ./engine/native/cocos/editor-support/spine-wasm/build-wasm/spine.js ./$DIST_PATH/spine.wasm.js
|
|
# cp ./engine/native/cocos/editor-support/spine-wasm/build-asmjs/spine.js.mem ./$DIST_PATH/
|
|
# cp ./engine/native/cocos/editor-support/spine-wasm/build-asmjs/spine.js ./$DIST_PATH/spine.asm.js
|
|
# mkdir -p ./engine/native/external/emscripten/spine/4.2/
|
|
# echo "-------- Before replace spine wasm -----------"
|
|
# ls -l ./engine/native/external/emscripten/spine/4.2/
|
|
# cp -f ./$DIST_PATH/* ./engine/native/external/emscripten/spine/4.2/
|
|
# echo "-------- After replace spine wasm ------------"
|
|
# ls -l ./engine/native/external/emscripten/spine/4.2/
|
|
# echo "-----------------------------------------------"
|
|
# cd ./engine/native/external
|
|
# git status
|
|
|
|
- name: Build Base Declarations
|
|
working-directory: .
|
|
run: |
|
|
ROOT_DIR=$(pwd)
|
|
cd engine
|
|
npm install
|
|
cd ../engine-HEAD
|
|
npm install --ignore-scripts
|
|
# Use package-size-check.js in HEAD
|
|
node .github/workflows/package-size-check.js "$ROOT_DIR/engine"
|
|
|
|
- name: Restore patches (BASE)
|
|
run: |
|
|
echo "-------------------------- Restore patches ---------------------------------"
|
|
rm $EMSDK/upstream/emscripten/system/lib/embind/bind.cpp
|
|
mv $EMSDK/upstream/emscripten/system/lib/embind/bind.cpp.bak $EMSDK/upstream/emscripten/system/lib/embind/bind.cpp
|
|
echo "-------------------------- Restore patches DONE! ---------------------------------"
|
|
cat $EMSDK/upstream/emscripten/system/lib/embind/bind.cpp
|
|
|
|
- name: Clear npm Cache
|
|
run: |
|
|
npm cache clean --force
|
|
|
|
- run: |
|
|
echo "EXT_VERSION_HEAD=$(node ./engine-HEAD/.github/workflows/get-native-external-version.js)" >> $GITHUB_ENV
|
|
|
|
- uses: actions/checkout@v4
|
|
name: Download external
|
|
with:
|
|
repository: cocos/cocos-engine-external
|
|
path: './engine-HEAD/native/external'
|
|
ref: "${{ env.EXT_VERSION_HEAD }}"
|
|
fetch-depth: 1
|
|
|
|
- name: Apply emscripten patches (HEAD)
|
|
run: |
|
|
echo "--------------------------------- Save bind.cpp ---------------------------------"
|
|
cp $EMSDK/upstream/emscripten/system/lib/embind/bind.cpp $EMSDK/upstream/emscripten/system/lib/embind/bind.cpp.bak
|
|
echo "--------------------------------- Apply embind bind.cpp patches ---------------------------------"
|
|
cp -f ./engine-HEAD/.github/workflows/emscripten-patches/embind/bind.cpp $EMSDK/upstream/emscripten/system/lib/embind/
|
|
echo "--------------------------------- Apply patches DONE! ---------------------------------"
|
|
cat $EMSDK/upstream/emscripten/system/lib/embind/bind.cpp
|
|
|
|
- name: Build Spine 3.8 WASM (HEAD)
|
|
run: |
|
|
cd ./engine-HEAD/native/cocos/editor-support/spine-wasm
|
|
mkdir build-wasm
|
|
cd build-wasm
|
|
emcmake cmake .. -GNinja
|
|
ninja
|
|
ls -l
|
|
|
|
- name: Build Spine 3.8 ASMJS (HEAD)
|
|
run: |
|
|
cd ./engine-HEAD/native/cocos/editor-support/spine-wasm
|
|
sed -i 's/set(BUILD_WASM 1)/set(BUILD_WASM 0)/g' CMakeLists.txt
|
|
mkdir build-asmjs
|
|
cd build-asmjs
|
|
emcmake cmake .. -GNinja
|
|
ninja
|
|
ls -l
|
|
|
|
- name: Copy Spine 3.8 files to external directory (HEAD)
|
|
run: |
|
|
DIST_PATH="dist/3.8"
|
|
rm -rf $DIST_PATH
|
|
mkdir -p $DIST_PATH
|
|
cp ./engine-HEAD/native/cocos/editor-support/spine-wasm/build-wasm/spine.wasm ./$DIST_PATH
|
|
cp ./engine-HEAD/native/cocos/editor-support/spine-wasm/build-wasm/spine.js ./$DIST_PATH/spine.wasm.js
|
|
cp ./engine-HEAD/native/cocos/editor-support/spine-wasm/build-asmjs/spine.js.mem ./$DIST_PATH/
|
|
cp ./engine-HEAD/native/cocos/editor-support/spine-wasm/build-asmjs/spine.js ./$DIST_PATH/spine.asm.js
|
|
echo "-------- Before replace spine wasm -----------"
|
|
mkdir -p ./engine-HEAD/native/external/emscripten/spine/3.8
|
|
ls -l ./engine-HEAD/native/external/emscripten/spine/3.8
|
|
cp -f ./$DIST_PATH/* ./engine-HEAD/native/external/emscripten/spine/3.8
|
|
echo "-------- After replace spine wasm ------------"
|
|
ls -l ./engine-HEAD/native/external/emscripten/spine/3.8
|
|
echo "-----------------------------------------------"
|
|
cd ./engine-HEAD/native/external
|
|
git status
|
|
|
|
- name: Build Spine 4.2 WASM (HEAD)
|
|
run: |
|
|
cd ./engine-HEAD/native/cocos/editor-support/spine-wasm
|
|
sed -i 's/set(BUILD_WASM 0)/set(BUILD_WASM 1)/g' CMakeLists.txt
|
|
sed -i 's/set(SPINE_VERSION "3.8")/set(SPINE_VERSION "4.2")/g' CMakeLists.txt
|
|
rm -rf build-wasm
|
|
mkdir build-wasm
|
|
cd build-wasm
|
|
emcmake cmake .. -GNinja
|
|
ninja
|
|
ls -l
|
|
|
|
- name: Build Spine 4.2 ASMJS (HEAD)
|
|
run: |
|
|
cd ./engine-HEAD/native/cocos/editor-support/spine-wasm
|
|
sed -i 's/set(SPINE_VERSION "3.8")/set(SPINE_VERSION "4.2")/g' CMakeLists.txt
|
|
sed -i 's/set(BUILD_WASM 1)/set(BUILD_WASM 0)/g' CMakeLists.txt
|
|
rm -rf build-asmjs
|
|
mkdir build-asmjs
|
|
cd build-asmjs
|
|
emcmake cmake .. -GNinja
|
|
ninja
|
|
ls -l
|
|
|
|
- name: Copy Spine 4.2 files to external directory (HEAD)
|
|
run: |
|
|
DIST_PATH="dist/4.2"
|
|
rm -rf $DIST_PATH
|
|
mkdir -p $DIST_PATH
|
|
cp ./engine-HEAD/native/cocos/editor-support/spine-wasm/build-wasm/spine.wasm ./$DIST_PATH
|
|
cp ./engine-HEAD/native/cocos/editor-support/spine-wasm/build-wasm/spine.js ./$DIST_PATH/spine.wasm.js
|
|
cp ./engine-HEAD/native/cocos/editor-support/spine-wasm/build-asmjs/spine.js.mem ./$DIST_PATH/
|
|
cp ./engine-HEAD/native/cocos/editor-support/spine-wasm/build-asmjs/spine.js ./$DIST_PATH/spine.asm.js
|
|
echo "-------- Before replace spine wasm -----------"
|
|
mkdir -p ./engine-HEAD/native/external/emscripten/spine/4.2/
|
|
ls -l ./engine-HEAD/native/external/emscripten/spine/4.2/
|
|
cp -f ./$DIST_PATH/* ./engine-HEAD/native/external/emscripten/spine/4.2/
|
|
echo "-------- After replace spine wasm ------------"
|
|
ls -l ./engine-HEAD/native/external/emscripten/spine/4.2/
|
|
echo "-----------------------------------------------"
|
|
cd ./engine-HEAD/native/external
|
|
git status
|
|
|
|
- name: Upload Artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: spine-emscripten
|
|
path: dist
|
|
|
|
- name: Build Head Declarations
|
|
working-directory: ./engine-HEAD
|
|
run: |
|
|
npm install
|
|
node ./.github/workflows/package-size-check.js "$(pwd)"
|
|
|
|
- name: Restore patches (HEAD)
|
|
run: |
|
|
echo "-------------------------- Restore patches ---------------------------------"
|
|
rm $EMSDK/upstream/emscripten/system/lib/embind/bind.cpp
|
|
mv $EMSDK/upstream/emscripten/system/lib/embind/bind.cpp.bak $EMSDK/upstream/emscripten/system/lib/embind/bind.cpp
|
|
echo "-------------------------- Restore patches DONE! ---------------------------------"
|
|
cat $EMSDK/upstream/emscripten/system/lib/embind/bind.cpp
|
|
|
|
- uses: LouisBrunner/diff-action@v2.0.0
|
|
with:
|
|
old: ./engine/bin/.declarations/cc.d.ts
|
|
new: ./engine-HEAD/bin/.declarations/cc.d.ts
|
|
mode: addition
|
|
tolerance: worse
|
|
output: ./engine-HEAD/interface-diff.txt
|
|
|
|
- name: optimize interface check report
|
|
working-directory: ./engine-HEAD
|
|
run: |
|
|
cat ./interface-diff.txt
|
|
node ./.github/workflows/interface-check-report.js
|
|
|
|
- name: After optimize interface check report
|
|
working-directory: ./engine-HEAD
|
|
run: |
|
|
cat ./interface-diff.txt
|
|
|
|
- name: Check Package Size
|
|
run: |
|
|
PACKAGE_SIZE_INFO="## Code Size Check Report
|
|
| Wechat (WASM) | Before | After | Diff |
|
|
|:-:|:-:|:-:|:-:|"
|
|
|
|
BASE_SIZE=0
|
|
HEAD_SIZE=0
|
|
DIFF_SIZE=0
|
|
ICON="✅ "
|
|
|
|
reset_diff_vars() {
|
|
BASE_SIZE=0
|
|
HEAD_SIZE=0
|
|
DIFF_SIZE=0
|
|
ICON="✅ "
|
|
}
|
|
|
|
check_diff() {
|
|
ccbuild_out_folder_name="$1"
|
|
if [ -d ./engine/$ccbuild_out_folder_name ]; then
|
|
BASE_SIZE=$(du -sb ./engine/$ccbuild_out_folder_name | awk '{print $1}')
|
|
fi
|
|
HEAD_SIZE=$(du -sb ./engine-HEAD/$ccbuild_out_folder_name | awk '{print $1}')
|
|
DIFF_SIZE=$((HEAD_SIZE - BASE_SIZE))
|
|
if [ "$DIFF_SIZE" -gt 0 ]; then
|
|
ICON="⚠️ +"
|
|
elif [ "$DIFF_SIZE" -lt 0 ]; then
|
|
ICON="👍 "
|
|
else
|
|
ICON="✅ "
|
|
fi
|
|
}
|
|
|
|
# Check Wechat platform
|
|
check_diff "build-cc-out-2d-empty-legacy-pipline"
|
|
PACKAGE_SIZE_INFO=$(printf "%s\n%s\n" "${PACKAGE_SIZE_INFO}" "| 2D Empty (legacy pipeline) | $BASE_SIZE bytes | $HEAD_SIZE bytes | $ICON$DIFF_SIZE bytes |")
|
|
reset_diff_vars
|
|
|
|
check_diff "build-cc-out-2d-legacy-pipline"
|
|
PACKAGE_SIZE_INFO=$(printf "%s\n%s\n" "${PACKAGE_SIZE_INFO}" "| 2D All (legacy pipeline) | $BASE_SIZE bytes | $HEAD_SIZE bytes | $ICON$DIFF_SIZE bytes |")
|
|
reset_diff_vars
|
|
|
|
check_diff "build-cc-out-2d-new-pipline"
|
|
PACKAGE_SIZE_INFO=$(printf "%s\n%s\n" "${PACKAGE_SIZE_INFO}" "| 2D All (new pipeline) | $BASE_SIZE bytes | $HEAD_SIZE bytes | $ICON$DIFF_SIZE bytes |")
|
|
reset_diff_vars
|
|
|
|
check_diff "build-cc-out-all"
|
|
PACKAGE_SIZE_INFO=$(printf "%s\n%s\n" "${PACKAGE_SIZE_INFO}" "| (2D + 3D) All | $BASE_SIZE bytes | $HEAD_SIZE bytes | $ICON$DIFF_SIZE bytes |")
|
|
reset_diff_vars
|
|
|
|
PACKAGE_SIZE_INFO=$(printf "%s\n" "${PACKAGE_SIZE_INFO}")
|
|
|
|
# Check Web platform
|
|
WEB_PLATFORM_TABLE_HEADER="| Web (WASM + ASMJS) | Before | After | Diff |
|
|
|:-:|:-:|:-:|:-:|"
|
|
PACKAGE_SIZE_INFO=$(printf "%s\n\n\n%s\n" "${PACKAGE_SIZE_INFO}" "$WEB_PLATFORM_TABLE_HEADER")
|
|
|
|
check_diff "build-cc-out-all-web"
|
|
PACKAGE_SIZE_INFO=$(printf "%s\n%s\n" "${PACKAGE_SIZE_INFO}" "| (2D + 3D) All | $BASE_SIZE bytes | $HEAD_SIZE bytes | $ICON$DIFF_SIZE bytes |")
|
|
reset_diff_vars
|
|
|
|
printf "%s\n" "$PACKAGE_SIZE_INFO"
|
|
|
|
DIFF_FILE_PATH=./engine-HEAD/interface-diff.txt
|
|
ORIGINAL_DIFF_CONTENT=$(cat ${DIFF_FILE_PATH})
|
|
echo "Original Diff: "
|
|
printf "%s\n" "$ORIGINAL_DIFF_CONTENT"
|
|
|
|
# Use printf to avoid \n missing
|
|
printf "%s\n" "$PACKAGE_SIZE_INFO" > ${DIFF_FILE_PATH}
|
|
printf "%s\n" "$ORIGINAL_DIFF_CONTENT" >> ${DIFF_FILE_PATH}
|
|
|
|
echo "Diff after merge: "
|
|
cat ${DIFF_FILE_PATH}
|
|
|
|
- name: Write PR number to file
|
|
uses: actions/github-script@v7
|
|
with:
|
|
script: |
|
|
const fs = require('fs');
|
|
fs.writeFileSync('interface-check-pr.txt', process.env.PR_NUMBER);
|
|
|
|
- name: Upload PR number artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: interface-check-pr.txt
|
|
path: |
|
|
interface-check-pr.txt
|
|
|
|
- name: Upload interface diff artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: interface-diff.txt
|
|
path: |
|
|
./engine-HEAD/interface-diff.txt
|