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

Commit

Permalink
only 7 characters from sha
Browse files Browse the repository at this point in the history
  • Loading branch information
alehandru committed Sep 11, 2023
1 parent e11124e commit 3cf279d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,14 @@ jobs:
shell: pwsh
working-directory: ${{ github.workspace }}
run: |
.\create-grpc-archive.ps1 -Source ${{ github.workspace }}/artifacts -Destination ${{ github.workspace }} -Version '12345'
$version = "${{ github.sha }}".Substring(0,7)
.\create-grpc-archive.ps1 -Source "${{ github.workspace }}\\artifacts" -Destination "${{ github.workspace }}" -Version $version
- name: Upload artifacts for gRPC
uses: actions/upload-artifact@v3
with:
name: grpc
path: |
${{ github.workspace }}\*.zip.12345
${{ github.workspace }}\*.zip.*

0 comments on commit 3cf279d

Please sign in to comment.