From 2562a0b5869985131a9a47ca23869e7ddf3e17b5 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Tue, 1 Jun 2021 14:13:34 -0700 Subject: [PATCH] Update publish.yml (#294) 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 749d5d57..7d969f0d 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