fix pwsh variable in CICD (#3188)

This commit is contained in:
Ocraftyone 2023-12-19 03:07:30 -05:00 committed by GitHub
parent 1a1760ffd9
commit 75b1a30293
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,7 @@ jobs:
if ($versionContent -match 'set\(SoftFever_VERSION "(.*?)"\)') { if ($versionContent -match 'set\(SoftFever_VERSION "(.*?)"\)') {
$ver = $matches[1] $ver = $matches[1]
} }
ver = "V$ver" $ver = "V$ver"
} }
echo "ver=$ver" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8 echo "ver=$ver" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8
@ -215,4 +215,4 @@ jobs:
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: OrcaSlicer_Linux_${{ env.ver }} name: OrcaSlicer_Linux_${{ env.ver }}
path: './build/OrcaSlicer_ubu64.AppImage' path: './build/OrcaSlicer_ubu64.AppImage'