release-process_feature-freeze.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. name: Feature Freeze
  2. run-name: Feature freeze Cura ${{ inputs.cura_version }} by @${{ github.actor }}
  3. on:
  4. workflow_dispatch:
  5. inputs:
  6. cura_version:
  7. description: 'Cura version major and minor, e.g. 5.7'
  8. required: true
  9. type: string
  10. jobs:
  11. parse-version:
  12. name: Parse input version string
  13. runs-on: ubuntu-latest
  14. outputs:
  15. package_version: ${{ steps.version_parser.outputs.major }}.${{ steps.version_parser.outputs.minor }}.0-alpha.1
  16. branch: ${{ steps.version_parser.outputs.major }}.${{ steps.version_parser.outputs.minor }}
  17. steps:
  18. - name: Parse version string
  19. id: version_parser
  20. uses: booxmedialtd/ws-action-parse-semver@v1.4.7
  21. with:
  22. input_string: ${{ inputs.cura_version }}.0
  23. feature-freeze:
  24. name: Process feature freeze
  25. uses: Ultimaker/Cura-workflows/.github/workflows/cura-set-packages-versions.yml@main
  26. needs: [parse-version]
  27. with:
  28. cura_version: ${{ needs.parse-version.outputs.package_version }}
  29. branch: ${{ needs.parse-version.outputs.branch }}
  30. create_feature_branch: true
  31. secrets: inherit