diff --git a/.github/workflows/win-cpu-x64-build.yml b/.github/workflows/win-cpu-x64-build.yml index cd223237c..1cb677795 100644 --- a/.github/workflows/win-cpu-x64-build.yml +++ b/.github/workflows/win-cpu-x64-build.yml @@ -50,7 +50,8 @@ jobs: run: | nuget install ${{ env.ORT_NIGHTLY_PACKAGE_NAME }} -version ${{ env.ORT_NIGHTLY_VERSION }} -x -NonInteractive - - run: dir /s ${{ env.ORT_NIGHTLY_PACKAGE_NAME }} + - run: Get-ChildItem ${{ env.ORT_NIGHTLY_PACKAGE_NAME }} -Recurse + continue-on-error: true - name: Extra OnnxRuntime library and header files run: | diff --git a/.github/workflows/win-gpu-x64-build.yml b/.github/workflows/win-gpu-x64-build.yml index 27803ee3d..7618d0b65 100644 --- a/.github/workflows/win-gpu-x64-build.yml +++ b/.github/workflows/win-gpu-x64-build.yml @@ -51,7 +51,9 @@ jobs: run: | nuget install ${{ env.ORT_NIGHTLY_PACKAGE_NAME }} -version ${{ env.ORT_NIGHTLY_VERSION }} -x -NonInteractive - - run: dir /s ${{ env.ORT_NIGHTLY_PACKAGE_NAME }} + - run: Get-ChildItem ${{ env.ORT_NIGHTLY_PACKAGE_NAME }} -Recurse + continue-on-error: true + - name: Extra OnnxRuntime library and header files run: | mkdir ort/lib