diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 54e6d61..9bf9a42 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,10 +13,10 @@ jobs: steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: setup msbuild - uses: microsoft/setup-msbuild@v1.1.3 + uses: microsoft/setup-msbuild@v2 - name: setup build information id: build @@ -24,9 +24,9 @@ jobs: - name: setup dotnet if: steps.build.outputs.sign_binaries == 'true' - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: - dotnet-version: '2.1.x' + dotnet-version: 8 - name: setup signtool if: steps.build.outputs.sign_binaries == 'true' @@ -52,7 +52,8 @@ jobs: src/NetOfficeExtension/bin/Release/NetOfficeExtension.vsix - name: upload artifact - uses: actions/upload-artifact@v3 + if: always() + uses: actions/upload-artifact@v4 with: name: NetOfficeExtension_${{ steps.build.outputs.app_version_full }}.vsix path: src/NetOfficeExtension/bin/Release/NetOfficeExtension.vsix