Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit f8cfe03

Browse files
authored
Update publish.yml (#294)
Try to fix the evaluation of the arguments
1 parent 67d6cf2 commit f8cfe03

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ jobs:
123123
124124
- name: Package
125125
run: |
126-
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/', '')
126+
$ProductVersion=$env:GITHUB_REF.Replace('refs/tags/', '')
127+
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
127128
128129
- name: Upload the installer to the GitHub release
129130
uses: actions/[email protected]

0 commit comments

Comments
 (0)