windows.yml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. name: Windows Installer
  2. run-name: ${{ inputs.cura_conan_version }} by @${{ github.actor }}
  3. on:
  4. workflow_dispatch:
  5. inputs:
  6. cura_conan_version:
  7. description: 'Cura Conan Version'
  8. default: ''
  9. type: string
  10. package_overrides:
  11. description: 'List of specific packages to be used (space-separated)'
  12. default: ''
  13. type: string
  14. conan_args:
  15. description: 'Conan args'
  16. default: ''
  17. required: false
  18. type: string
  19. enterprise:
  20. description: 'Build Cura as an Enterprise edition'
  21. default: false
  22. required: true
  23. type: boolean
  24. staging:
  25. description: 'Use staging API'
  26. default: false
  27. required: true
  28. type: boolean
  29. operating_system:
  30. description: 'OS'
  31. required: true
  32. default: 'self-hosted-Windows-X64'
  33. type: choice
  34. options:
  35. - self-hosted-Windows-X64
  36. - windows-2022
  37. jobs:
  38. windows-installer:
  39. uses: ultimaker/cura-workflows/.github/workflows/cura-installer-windows.yml@main
  40. with:
  41. cura_conan_version: ${{ inputs.cura_conan_version }}
  42. package_overrides: ${{ inputs.package_overrides }}
  43. conan_args: ${{ inputs.conan_args }}
  44. enterprise: ${{ inputs.enterprise }}
  45. staging: ${{ inputs.staging }}
  46. operating_system: ${{ inputs.operating_system }}
  47. secrets: inherit