Browse Source

Debugging

release/3.x.x
Damian Wolgast 3 years ago
parent
commit
413c68de44
No known key found for this signature in database GPG Key ID: 97F36CC6D201E31B
1 changed files with 2 additions and 9 deletions
  1. +2
    -9
      .github/workflows/deb-packaging.yml

+ 2
- 9
.github/workflows/deb-packaging.yml View File

@@ -15,24 +15,17 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2


- 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 - name: Validate version
run: | run: |
echo "ls -la Source/MQTTnet.Server"
ls -la Source/MQTTnet.Server
echo "ls -la Source/MQTTnet.Server/MQTTnet.Server.csproj"
ls -la Source/MQTTnet.Server/MQTTnet.Server.csproj
echo "ls-la"
ls -la
echo "echo ${{ env.VERSION }}" echo "echo ${{ env.VERSION }}"
echo ${{ env.VERSION }} echo ${{ env.VERSION }}
echo "echo $VERSION" echo "echo $VERSION"
echo $VERSION echo $VERSION
echo "$VERSION" echo "$VERSION"
cat Source/MQTTnet.Server/MQTTnet.Server.csproj
echo "grep" 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 - 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


Loading…
Cancel
Save