mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-10-04 00:16:35 +08:00
35 lines
1.1 KiB
YAML
35 lines
1.1 KiB
YAML
name: Feature Freeze
|
|
run-name: Feature freeze Cura ${{ inputs.cura_version }} by @${{ github.actor }}
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
cura_version:
|
|
description: 'Cura version major and minor, e.g. 5.7'
|
|
required: true
|
|
type: string
|
|
|
|
jobs:
|
|
parse-version:
|
|
name: Parse input version string
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
package_version: ${{ steps.version_parser.outputs.major }}.${{ steps.version_parser.outputs.minor }}.0-alpha.1
|
|
branch: ${{ steps.version_parser.outputs.major }}.${{ steps.version_parser.outputs.minor }}
|
|
steps:
|
|
- name: Parse version string
|
|
id: version_parser
|
|
uses: booxmedialtd/ws-action-parse-semver@v1.4.7
|
|
with:
|
|
input_string: ${{ inputs.cura_version }}.0
|
|
|
|
feature-freeze:
|
|
name: Process feature freeze
|
|
uses: Ultimaker/Cura-workflows/.github/workflows/cura-set-packages-versions.yml@main
|
|
needs: [parse-version]
|
|
with:
|
|
cura_version: ${{ needs.parse-version.outputs.package_version }}
|
|
branch: ${{ needs.parse-version.outputs.branch }}
|
|
create_feature_branch: true
|
|
secrets: inherit
|