File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,7 @@ jobs:
120120 needs : get-version
121121 env :
122122 VERSION : ${{needs.get-version.outputs.version}}
123+ WIX_VERSION : ${{needs.get-version.outputs.version}}
123124 BUILD_INSTALLER : ${{ false }}
124125 steps :
125126 - name : Checkout repository
@@ -147,7 +148,9 @@ jobs:
147148 dest : ${{ env.GAME_EXECUTABLE_NAME }}_windows.zip
148149 - name : Create Installer
149150 if : ${{ env.BUILD_INSTALLER }}
150- run : dotnet build -p:Version=${{ env.VERSION }} -c Release build/windows/installer/Installer.wixproj --output installer
151+ run : |
152+ echo "VERSION=${${{ env.VERSION }}#v}" >> $WIX_VERSION
153+ dotnet build -p:Version=$WIX_VERSION -c Release build/windows/installer/Installer.wixproj --output installer
151154 - name : Upload release
152155 uses : svenstaro/upload-release-action@v2
153156 with :
You can’t perform that action at this time.
0 commit comments