Set new version for testing #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Feature Freeze | ||
run-name: Feature freeze Cura ${{ inputs.cura_version }} by @${{ github.actor }} | ||
on: | ||
workflow_call: | ||
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 | ||
steps: | ||
- name: Parse version string | ||
id: version_parser | ||
uses: booxmedialtd/[email protected] | ||
with: | ||
input_string: ${{ inputs.cura_version }}.0 | ||
feature-freeze: | ||
name: Process feature freeze | ||
uses: Ultimaker/Cura-workflows/.github/workflows/cura-set-packages-versions.yml | ||
needs: [parse-version] | ||
with: | ||
cura_version: ${{ needs.parse-version.outputs.package_version }} | ||
create_feature_branch: true |