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

Commit

Permalink
add step to create archive
Browse files Browse the repository at this point in the history
  • Loading branch information
alehandru committed Sep 11, 2023
1 parent 7c59a45 commit 2e20651
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
shell: cmd
run: |
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
rem 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
Expand All @@ -102,27 +102,38 @@ jobs:
steps:

- name: Download artifacts for gRPC 32 (Release)
uses: actions/download-artifact@master
uses: actions/download-artifact@v3
with:
name: build_32_Release
path: ${{ github.workspace }}\build_32_Release
path: ${{ github.workspace }}\artifacts

- name: Download artifacts for gRPC 64 (Release)
uses: actions/download-artifact@master
uses: actions/download-artifact@v3
with:
name: build_64_Release
path: ${{ github.workspace }}\build_64_Release
path: ${{ github.workspace }}\artifacts

- name: Download artifacts for gRPC 32 (Debug)
uses: actions/download-artifact@master
uses: actions/download-artifact@v3
with:
name: build_32_Debug
path: ${{ github.workspace }}\build_32_Debug
path: ${{ github.workspace }}\artifacts

- name: Download artifacts for gRPC 64 (Debug)
uses: actions/download-artifact@master
uses: actions/download-artifact@v3
with:
name: build_64_Debug
path: ${{ github.workspace }}\build_64_Debug
path: ${{ github.workspace }}\artifacts

- name: List artifacts
shell: pwsh
run: |
ls -R ${{ github.workspace }}/artifacts
- name: Create archive
shell: pwsh
working-directory: ${{ github.workspace }}
run: |
.\create-grpc-archive.ps1 -Source ${{ github.workspace }}/artifacts -Destination ${{ github.workspace }} -Version '12345'

0 comments on commit 2e20651

Please sign in to comment.