windows.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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: 'cura/latest@ultimaker/testing'
  9. required: true
  10. type: string
  11. conan_args:
  12. description: 'Conan args: eq.: --requires'
  13. default: ''
  14. required: false
  15. type: string
  16. enterprise:
  17. description: 'Build Cura as an Enterprise edition'
  18. default: false
  19. required: true
  20. type: boolean
  21. staging:
  22. description: 'Use staging API'
  23. default: false
  24. required: true
  25. type: boolean
  26. operating_system:
  27. description: 'OS'
  28. required: true
  29. default: 'self-hosted-Windows-X64'
  30. type: choice
  31. options:
  32. - self-hosted-Windows-X64
  33. - windows-2022
  34. jobs:
  35. windows-installer:
  36. # FIXME: Use main once merged
  37. uses: ultimaker/cura-workflows/.github/workflows/cura-installer-windows.yml@CURA-11622_conan_v2
  38. with:
  39. cura_conan_version: ${{ inputs.cura_conan_version }}
  40. conan_args: ${{ inputs.conan_args }}
  41. enterprise: ${{ inputs.enterprise }}
  42. staging: ${{ inputs.staging }}
  43. operating_system: ${{ inputs.operating_system }}
  44. secrets: inherit