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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -94,9 +94,8 @@ jobs:
name: Version name: Version
- 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