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

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