mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-20 11:45:43 +08:00
Extraction of Version from project file.
This commit is contained in:
@@ -16,13 +16,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Parse version
|
- name: Parse version
|
||||||
run: echo VERSION=$(grep '<Version>' Source/MQTTnet.Server/MQTTnet.Server.csproj | grep [0-9\.]* -o) >> $GITHUB_ENV
|
run: echo VERSION=$(grep '<Version>' Source/MQTTnet.Server/MQTTnet.Server.csproj | grep [0-9\.]* -o) >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Validate version
|
|
||||||
run: |
|
|
||||||
echo environment
|
|
||||||
echo ${{ env.VERSION }}
|
|
||||||
echo $VERSION
|
|
||||||
grep '<Version>' Source/MQTTnet.Server/MQTTnet.Server.csproj | grep [0-9\.]* -o
|
|
||||||
|
|
||||||
- name: Build MQTTnetServer
|
- name: Build MQTTnetServer
|
||||||
run: dotnet publish Source/MQTTnet.Server/MQTTnet.Server.csproj --configuration Release --self-contained --runtime linux-x64 --framework net5.0
|
run: dotnet publish Source/MQTTnet.Server/MQTTnet.Server.csproj --configuration Release --self-contained --runtime linux-x64 --framework net5.0
|
||||||
|
|||||||
Reference in New Issue
Block a user