mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-04 07:04:18 +08:00
Use bool
This commit is contained in:
parent
9f8509050d
commit
71ad73beb4
4
.github/workflows/cura-all-installers.yml
vendored
4
.github/workflows/cura-all-installers.yml
vendored
@ -72,7 +72,7 @@ jobs:
|
||||
enterprise: ${{ inputs.enterprise }}
|
||||
staging: ${{ inputs.staging }}
|
||||
installer: ${{ inputs.installer }}
|
||||
msi: 'false'
|
||||
msi: false
|
||||
secrets: inherit
|
||||
|
||||
windows-installer-create-msi:
|
||||
@ -87,7 +87,7 @@ jobs:
|
||||
enterprise: ${{ inputs.enterprise }}
|
||||
staging: ${{ inputs.staging }}
|
||||
installer: ${{ inputs.installer }}
|
||||
msi: 'true'
|
||||
msi: true
|
||||
secrets: inherit
|
||||
|
||||
linux-installer-create:
|
||||
|
8
.github/workflows/cura-installer.yml
vendored
8
.github/workflows/cura-installer.yml
vendored
@ -240,19 +240,19 @@ jobs:
|
||||
working-directory: dist
|
||||
|
||||
- name: Create the Windows exe installer (Powershell)
|
||||
if: ${{ github.event.inputs.installer == 'true' && runner.os == 'Windows' && github.event.inputs.msi == 'false' }}
|
||||
if: ${{ github.event.inputs.installer == 'true' && runner.os == 'Windows' && github.event.inputs.msi }}
|
||||
run: |
|
||||
python ..\cura_inst\packaging\NSIS\create_windows_installer.py ../cura_inst . "UltiMaker-Cura-$Env:CURA_VERSION_FULL-${{ inputs.os_name }}.exe"
|
||||
working-directory: dist
|
||||
|
||||
- name: Create the Windows msi installer (Powershell)
|
||||
if: ${{ github.event.inputs.installer == 'true' && runner.os == 'Windows' && github.event.inputs.msi == 'true' }}
|
||||
if: ${{ github.event.inputs.installer == 'true' && runner.os == 'Windows' && github.event.inputs.msi }}
|
||||
run: |
|
||||
python ..\cura_inst\packaging\msi\create_windows_msi.py ..\cura_inst .\UltiMaker-Cura "UltiMaker-Cura-$Env:CURA_VERSION_FULL-${{ inputs.os_name }}.msi" "$Env:CURA_APP_NAME"
|
||||
working-directory: dist
|
||||
|
||||
- name: Sign the Windows exe installer (Powershell)
|
||||
if: ${{ github.event.inputs.installer == 'true' && runner.os == 'Windows' && github.event.inputs.msi == 'false' }}
|
||||
if: ${{ github.event.inputs.installer == 'true' && runner.os == 'Windows' && github.event.inputs.msi }}
|
||||
env:
|
||||
PFX_PATH: ${{ steps.create-pfx.outputs.PFX_PATH }}
|
||||
run: |
|
||||
@ -260,7 +260,7 @@ jobs:
|
||||
working-directory: dist
|
||||
|
||||
- name: Sign the Windows msi installer (Powershell)
|
||||
if: ${{ github.event.inputs.installer == 'true' && runner.os == 'Windows' && github.event.inputs.msi == 'true' }}
|
||||
if: ${{ github.event.inputs.installer == 'true' && runner.os == 'Windows' && github.event.inputs.msi }}
|
||||
env:
|
||||
PFX_PATH: ${{ steps.create-pfx.outputs.PFX_PATH }}
|
||||
run: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user