|
|
@@ -19,17 +19,10 @@ jobs: |
|
|
|
|
|
|
|
- name: Validate version |
|
|
|
run: | |
|
|
|
ls -la |
|
|
|
ls -la Source |
|
|
|
ls -la Source/MQTTnet.Server |
|
|
|
[ -f "Source/MQTTnet.Server/MQTTnet.Server.csproj" ] && echo -1- |
|
|
|
echo "echo ${{ env.VERSION }}" |
|
|
|
echo environment |
|
|
|
echo ${{ env.VERSION }} |
|
|
|
echo "echo $VERSION" |
|
|
|
echo $VERSION |
|
|
|
echo "$VERSION" |
|
|
|
echo "grep" |
|
|
|
grep \<Version>\ Source/MQTTnet.Server/MQTTnet.Server.csproj | grep [0-9\.]+ -o |
|
|
|
grep \<Version\> Source/MQTTnet.Server/MQTTnet.Server.csproj | grep [0-9\.]+ -o |
|
|
|
|
|
|
|
- name: Build MQTTnetServer |
|
|
|
run: dotnet publish Source/MQTTnet.Server/MQTTnet.Server.csproj --configuration Release --self-contained --runtime linux-x64 --framework net5.0 |
|
|
|