From 37e648fa15e4827270aac6b8bb6ba05fb35580c7 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Tue, 1 Jun 2021 14:07:55 -0700 Subject: [PATCH] Update publish.yml Try to fix the evaluation of the arguments --- .github/workflows/publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7691115b..be04093d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -123,7 +123,8 @@ jobs: - name: Package run: | - msbuild WiX/swift-doc.wixproj -nologo -p:Configuration=Release -p:OutputPath=$PWD\.build\artifacts -p:RunWixToolsOutOfProc=true -p:GRAPHVIZ_ROOT=C:\Library\graphviz-development -p:SWIFT_DOC_BUILD=$PWD\.build\release -p:ProductVersion=$env:GITHUB_REF.Replace('refs/tags/', '') + $ProductVersion=$env:GITHUB_REF.Replace('refs/tags/', '') + msbuild WiX/swift-doc.wixproj -nologo -p:Configuration=Release -p:OutputPath=$PWD\.build\artifacts -p:RunWixToolsOutOfProc=true -p:GRAPHVIZ_ROOT=C:\Library\graphviz-development -p:SWIFT_DOC_BUILD=$PWD\.build\release -p:ProductVersion=$ProductVersion - name: Upload the installer to the GitHub release uses: actions/upload-release-asset@v1.0.1