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

Commit

Permalink
checkout before creating archive
Browse files Browse the repository at this point in the history
  • Loading branch information
alehandru committed Sep 11, 2023
1 parent 31f7afd commit e11124e
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
working-directory: ${{ github.workspace }}/build_windows_${{ matrix.arch }}
shell: cmd
run: |
echo 'ALEX' > ${{ github.workspace }}\build_windows_${{ matrix.arch }}\test.lib
echo 'ALEX' > ${{ github.workspace }}\build_windows_${{ matrix.arch }}\test_${{ matrix.arch }}_${{ matrix.configuration }}.lib
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 }} )
Expand Down Expand Up @@ -130,10 +130,26 @@ jobs:
run: |
ls -R ${{ github.workspace }}/artifacts
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- name: Checkout ${{ github.ref }}
uses: actions/checkout@v3
with:
submodules: recursive

- name: Create archive
shell: pwsh
working-directory: ${{ github.workspace }}
run: |
.\create-grpc-archive.ps1 -Source ${{ github.workspace }}/artifacts -Destination ${{ github.workspace }} -Version '12345'
- name: Upload artifacts for gRPC
uses: actions/upload-artifact@v3
with:
name: grpc
path: |
${{ github.workspace }}\*.zip.12345

0 comments on commit e11124e

Please sign in to comment.