Skip to content

Commit 9f1d8ed

Browse files
authored
Fix environment variable definition
1 parent 3170da1 commit 9f1d8ed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ jobs:
3939
- name: Set the version environment variable
4040
run: |
4141
$file = ".\src\MQTTLib\bin\${env:Configuration}\${env:Bin}"
42-
$env:WINS_VERSION = $(Get-Item $file).VersionInfo.ProductVersion
43-
Write-Host WINS_VERSION $env:WINS_VERSION
42+
$WINS_VERSION = $(Get-Item $file).VersionInfo.ProductVersion
43+
Write-Host WINS_VERSION $WINS_VERSION
4444
echo "WINS_VERSION=$WINS_VERSION" >> $env:GITHUB_ENV
45-
$env:TIMESTAMP = Get-Date -Format "yyyyMMddHHmmss"
46-
Write-Host TIMESTAMP $env:TIMESTAMP
45+
$TIMESTAMP = Get-Date -Format "yyyyMMddHHmmss"
46+
Write-Host TIMESTAMP $TIMESTAMP
4747
echo "TIMESTAMP=$TIMESTAMP" >> $env:GITHUB_ENV
4848
- name: Deploy & zip
4949
run: |

0 commit comments

Comments
 (0)