Preserve original filename in build-msi action
This commit is contained in:
parent
30d06c13ba
commit
88f0f3a8b2
3 changed files with 9203 additions and 9206 deletions
3
.github/actions/build-msi/action.yml
vendored
3
.github/actions/build-msi/action.yml
vendored
|
|
@ -1,9 +1,6 @@
|
|||
name: 'Build MSI'
|
||||
description: 'Build, sign, and release Windows installers using WiX'
|
||||
inputs:
|
||||
version:
|
||||
description: 'what version to use for the built MSI'
|
||||
required: true
|
||||
exe:
|
||||
description: 'path to exe to wrap in MSI '
|
||||
required: true
|
||||
|
|
|
|||
18404
.github/actions/build-msi/dist/index.js
vendored
18404
.github/actions/build-msi/dist/index.js
vendored
File diff suppressed because one or more lines are too long
2
.github/actions/build-msi/index.js
vendored
2
.github/actions/build-msi/index.js
vendored
|
|
@ -42,7 +42,7 @@ async function go_msi(version, exePath) {
|
|||
console.log(`moving ${exePath} to bin/gh.exe`);
|
||||
fs.renameSync(exePath, path.join(binPath, 'gh.exe'));
|
||||
|
||||
const msiPath = path.join(cwd, 'gh.msi');
|
||||
const msiPath = path.join(cwd, path.basename(exePath, '.exe') + '.msi');
|
||||
|
||||
try {
|
||||
await exec.exec(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue