File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 83
83
- name : Get major-feature from version
84
84
id : get-major-feature
85
85
run : |
86
- echo "major-feature=\"$(echo "${{ github.event.inputs.version }}" | cut -d '.' -f 1,2)\"" >> "$GITHUB_OUTPUT"
86
+ echo "MAJOR_FEATURE=$(echo "${{ github.event.inputs.version }} | cut -d '.' -f 1,2)" >> "$GITHUB_ENV"
87
+ - name : Verify major-feature
88
+ run : |
89
+ echo "major_feature: $MAJOR_FEATURE"
87
90
- name : Checkout backup-utils
88
91
uses : actions/checkout@v4
89
92
with :
93
96
uses : stefanzweifel/git-auto-commit-action@v4
94
97
id : empty-commit
95
98
with :
96
- branch : ${{ steps.get-major-feature.outputs.major-feature }}-stable
99
+ branch : ${{ env.MAJOR_FEATURE }}-stable
97
100
commit_message : " Test ${{ github.event.inputs.version }} release commit"
98
101
commit_user_name : " release-controller[bot]"
99
102
commit_user_email : " 223695+release-controller[bot]@users.noreply.github.com"
You can’t perform that action at this time.
0 commit comments