Skip to content

Commit

Permalink
Update dotnet-desktop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
valnoxy authored Aug 13, 2024
1 parent 9a8b3a8 commit 242447b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,19 +82,22 @@ jobs:

# Get Git Hash
- name: Get Git Hash
id: vars
run: |
echo "sha_short=$(git rev-parse --short HEAD)" >> $env:GITHUB_OUTPUT
echo Short SHA: ${sha_short}
echo Short SHA: ${{ steps.vars.outputs.sha_short }}
# Build app
- name: Build GoAwayEdge (Release)
run: msbuild $env:Solution_Name /t:Restore /t:Build,Publish /p:Configuration=$env:Configuration /p:InformationalVersion=${sha_short} /p:OutputPath=..\publish\
run: msbuild $env:Solution_Name /t:Restore /t:Build,Publish /p:Configuration=$env:Configuration /p:InformationalVersion=${{ steps.vars.outputs.sha_short }} /p:OutputPath=..\publish\
env:
Configuration: ${{ matrix.configuration }}

# Upload builds
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: GoAwayEdge artifacts
name: GoAwayEdge $env:Configuration
path: publish\publish\*.exe
env:
Configuration: ${{ matrix.configuration }}

0 comments on commit 242447b

Please sign in to comment.