Skip to content

Commit

Permalink
ci(wpf)
Browse files Browse the repository at this point in the history
  • Loading branch information
c0nstexpr committed Mar 21, 2024
1 parent 7ec4029 commit 2d2913a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/wpf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,18 @@ jobs:
run: msbuild $env:Wpf_Project_Path /p:Configuration=Release
env:
Configuration: ${{ matrix.configuration }}

- name: Archive Release
uses: thedoctor0/[email protected]
with:
type: zip
directory: ./${{ env.Wpf_Project_Directory }}/bin/Release/
filename: release.zip

- name: Release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v2
with:
files: ./${{ env.Wpf_Project_Directory }}/bin/Release/net8.0-windows/**/*
files: release.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 2d2913a

Please sign in to comment.