Skip to content

Commit

Permalink
Fix artifacts publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
nirbar committed Sep 24, 2024
1 parent c70d00c commit 5e64812
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:
required: true
default: false
type: boolean
publish_release:
description: 'Publish release?'
required: true
default: false
type: boolean
version:
description: 'Build & package version'
required: true
Expand All @@ -30,8 +35,8 @@ jobs:
with:
name: MsiZapEx
path: |
build\net40\MsiZapEx\Release\bin\*.exe
build\net40\MsiZapEx\Release\bin\*.dll
build/net40/MsiZapEx/Release/bin/*.exe
build/net40/MsiZapEx/Release/bin/*.dll
- name: Publish nuget packages to github and nuget.org
if: ${{ github.event.inputs.publish_nuget == 'true' }}
Expand All @@ -43,12 +48,12 @@ jobs:
- name: Publish release
uses: softprops/[email protected]
if: ${{ github.event.inputs.publish_nuget == 'true' }}
if: ${{ github.event.inputs.publish_release == 'true' }}
with:
prerelease: false
generate_release_notes: true
tag_name: ${{ env.FULL_VERSION }}
files: |
build\MsiZapEx\Release\bin\MsiZapEx.${{ env.FULL_VERSION }}.nupkg
build\net40\MsiZapEx\Release\bin\MsiZapEx.exe
build\net40\MsiZapEx\Release\bin\CommandLine.dll
build/net40/MsiZapEx/Release/bin/MsiZapEx.exe
build/net40/MsiZapEx/Release/bin/CommandLine.dll

0 comments on commit 5e64812

Please sign in to comment.