Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Commit

Permalink
add steps to upload and download artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
alehandru committed Sep 11, 2023
1 parent 37cffb1 commit a3145f2
Showing 1 changed file with 38 additions and 1 deletion.
39 changes: 38 additions & 1 deletion .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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


0 comments on commit a3145f2

Please sign in to comment.