From 15209faaafbd4b6b9176d21f1084bd1ad2b36c07 Mon Sep 17 00:00:00 2001 From: shimat Date: Mon, 1 Jan 2024 08:46:14 +0900 Subject: [PATCH] update actions --- .github/workflows/windows.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index c16ca2401..246a89a0a 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 1 submodules: true @@ -67,7 +67,7 @@ jobs: . ".\download_tesseract_windows.ps1" - name: Add msbuild to PATH - uses: microsoft/setup-msbuild@v1.1 + uses: microsoft/setup-msbuild@v1.3.1 - name: Build x64 shell: cmd @@ -77,15 +77,15 @@ jobs: shell: cmd run: msbuild OpenCvSharp.sln /t:build /p:configuration=Release /p:platform=x86 -maxcpucount - - name: Build ARM - shell: cmd - run: msbuild OpenCvSharp.sln /t:build /p:configuration=Release /p:platform=ARM -maxcpucount + #- name: Build ARM + # shell: cmd + # run: msbuild OpenCvSharp.sln /t:build /p:configuration=Release /p:platform=ARM -maxcpucount - name: Install .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: | - 6.0.x + 8.0.x - name: Build net6.0 shell: cmd @@ -156,7 +156,7 @@ jobs: dotnet run -c Release --runtime win-x64 -- "${env:GITHUB_WORKSPACE}" "${env:GITHUB_WORKSPACE}\artifacts" ${{env.OPENCV_VERSION}} - name: Upload NuGet packages and Release packages - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: packages_windows path: ${{ github.workspace }}\artifacts