ci: use correct path for version.txt for main builds

This commit is contained in:
Andrew Welker
2025-02-13 10:04:52 -06:00
committed by GitHub
parent af88714643
commit 1ad1339f0c

View File

@@ -94,9 +94,8 @@ jobs:
name: Version
- name: Set Version Number
shell: powershell
run: |
Get-ChildItem "./Version"
$version = Get-Content -Path ./Version/version.txt
run: |
$version = Get-Content -Path ./version.txt
Write-Host "Version: $version"
echo "VERSION=$version" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
Remove-Item -Path ./Version/version.txt