From 2405aa6b93f11dfe93af538013de72464fe8edb6 Mon Sep 17 00:00:00 2001 From: Ryo Yamashita Date: Wed, 4 Sep 2024 00:33:04 +0900 Subject: [PATCH] =?UTF-8?q?remove:=20=E4=B8=8D=E8=A6=81=E3=81=AA=E3=83=95?= =?UTF-8?q?=E3=82=A1=E3=82=A4=E3=83=AB=E3=82=92=E3=83=AA=E3=83=AA=E3=83=BC?= =?UTF-8?q?=E3=82=B9=E3=81=AB=E5=85=A5=E3=82=8C=E3=81=AA=E3=81=84=E3=82=88?= =?UTF-8?q?=E3=81=86=E3=81=AB=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dc57150..0db7ee6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -420,12 +420,12 @@ jobs: echo "Unknown target found : ${{ matrix.artifact_name }}" return 1 fi + # PDBファイル, Privacy.md, include/は不要なので省く if [ ${{ runner.os }} = Windows ]; then # https://github.com/microsoft/onnxruntime/blob/v1.16.3/tools/ci_build/github/azure-pipelines/templates/c-api-artifacts-package-and-publish-steps-windows.yml#L34-L72 - # ただし、ortクレートには.pdbとinclude/は不要なので入れない。 mkdir -p ./${{ matrix.result_dir }}/${{ matrix.artifact_name }}/lib git rev-parse HEAD > ./${{ matrix.result_dir }}/${{ matrix.artifact_name }}/GIT_COMMIT_ID - cp ./{docs/Privacy.md,LICENSE,README.md,ThirdPartyNotices.txt,VERSION_NUMBER} \ + cp ./{LICENSE,README.md,ThirdPartyNotices.txt,VERSION_NUMBER} \ ./${{ matrix.result_dir }}/${{ matrix.artifact_name }}/ cp ./${{ matrix.result_dir }}/${{ matrix.release_config }}/onnxruntime.{dll,lib} \ ./${{ matrix.result_dir }}/${{ matrix.artifact_name }}/lib/ @@ -441,6 +441,7 @@ jobs: -c ${{ matrix.release_config }} \ -s "$(pwd)" \ -t "$(git rev-parse HEAD)" + rm -r ${{ matrix.result_dir }}/${{ matrix.artifact_name }}/{Privacy.md,include} fi mv ${{ matrix.result_dir }}/${{ matrix.artifact_name }} ./artifact/