diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 6f0ac9c..cf96cea 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -75,8 +75,8 @@ jobs: - name: Get version tag shell: pwsh run: | - set VERSION=$(cat VERSION) - echo "VERSION=$VERSION" >> $GITHUB_ENV + $version = Get-Content -Path "VERSION" + echo "VERSION=$version" >> $env:GITHUB_ENV - name: Release uses: softprops/action-gh-release@v2