Merge pull request #6 from asymetrixs/deb-packaging

Deb packaging
This commit is contained in:
Damian
2021-03-12 17:38:07 +01:00
committed by GitHub
+8 -1
View File
@@ -5,7 +5,7 @@ name: Deb Packaging
# Controls when the action will run.
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
workflow_dispatch
jobs:
build:
@@ -16,6 +16,13 @@ jobs:
- name: Parse version
run: echo "VERSION=$(grep '<Version>' Source/MQTTnet.Server/MQTTnet.Server.csproj | grep '[0-9\.]+' -o)" >> $GITHUB_ENV
- name: Validate version
run: |
ls -la Source/MQTTnet.Server/MQTTnet.Server.csproj
ls -la
echo ${{ env.VERSION }}
echo $VERSION
- name: Build MQTTnetServer
run: dotnet publish Source/MQTTnet.Server/MQTTnet.Server.csproj --configuration Release --self-contained --runtime linux-x64 --framework net5.0