Skip to content

Commit

Permalink
Fixup binary release yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Auto Contents authored and LordMike committed Jan 10, 2022
1 parent a900b84 commit eeb5b0c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dotnet-release-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ jobs:
run: "[ -f .ci-skip-tests ] && echo 'Skipping tests' || dotnet test --no-build --verbosity normal"

- name: Pack
if: github.ref == 'refs/heads/master'
run: |
dotnet publish -o Build/win-x64 -r win-x64 --self-contained -p:PublishSingleFile=true -p:EnableCompressionInSingleFile=true
dotnet publish -o Build/linux-x64 -r linux-x64 --self-contained -p:PublishSingleFile=true -p:EnableCompressionInSingleFile=true
dotnet publish -o Build/osx-x64 -r osx-x64 --self-contained -p:PublishSingleFile=true -p:EnableCompressionInSingleFile=true
dotnet publish -r win-x64 -p:AssemblyName=MBW.Tools.ZwaveJs2Mqtt.win -o Build --self-contained -p:PublishSingleFile=true -p:EnableCompressionInSingleFile=true -p:GenerateDocumentationFile=False
dotnet publish -r linux-x64 -p:AssemblyName=MBW.Tools.ZwaveJs2Mqtt.linux -o Build --self-contained -p:PublishSingleFile=true -p:EnableCompressionInSingleFile=true -p:GenerateDocumentationFile=False
dotnet publish -r osx-x64 -p:AssemblyName=MBW.Tools.ZwaveJs2Mqtt.osx -o Build --self-contained -p:PublishSingleFile=true -p:EnableCompressionInSingleFile=true -p:GenerateDocumentationFile=False
- name: Promote to release
uses: softprops/action-gh-release@v1
with:
fail_on_unmatched_files: true
files: |
Build/**

0 comments on commit eeb5b0c

Please sign in to comment.