From a3145f2267973a2acf94431f5705606765eb3785 Mon Sep 17 00:00:00 2001 From: alehandru Date: Mon, 11 Sep 2023 15:08:47 -0700 Subject: [PATCH] add steps to upload and download artifacts --- .github/workflows/build-windows.yml | 39 ++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 452bb6a47e47a..d9e66ffde5aca 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -85,6 +85,43 @@ jobs: working-directory: ${{ github.workspace }}/build_windows_${{ matrix.arch }} shell: cmd run: | - msbuild.exe -maxcpucount /t:Build /m /p:Configuration=${{ matrix.configuration }} /p:Platform=${{ env.PLATFORM }} /fl /flp:logfile=build-${{ matrix.arch }}.${{ matrix.configuration }}.log;verbosity=diagnostic grpc.sln + dir + #msbuild.exe -maxcpucount /t:Build /m /p:Configuration=${{ matrix.configuration }} /p:Platform=${{ env.PLATFORM }} /fl /flp:logfile=build-${{ matrix.arch }}.${{ matrix.configuration }}.log;verbosity=diagnostic grpc.sln + + - name: Upload artifacts for gRPC ${{ matrix.arch }} bit ( ${{ matrix.configuration }} ) + uses: actions/upload-artifact@v3 + with: + name: build_${{ matrix.arch }}_${{ matrix.configuration }} + path: | + ${{ github.workspace }}\build_windows_${{ matrix.arch }}\**\*.lib + + archive: + runs-on: windows-latest + + steps: + + - name: Download artifacts for gRPC 32 (Release) + uses: actions/download-artifact@master + with: + name: build_32_Release + path: ${{ github.workspace }}\build_32_Release + + - name: Download artifacts for gRPC 64 (Release) + uses: actions/download-artifact@master + with: + name: build_64_Release + path: ${{ github.workspace }}\build_64_Release + + - name: Download artifacts for gRPC 32 (Debug) + uses: actions/download-artifact@master + with: + name: build_32_Debug + path: ${{ github.workspace }}\build_32_Debug + + - name: Download artifacts for gRPC 64 (Debug) + uses: actions/download-artifact@master + with: + name: build_64_Debug + path: ${{ github.workspace }}\build_64_Debug