File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 3737 - name : Get next version
3838 id : get_next_version
3939 run : |
40- if [ -n "${{ github.event. inputs.version }}" ]; then
41- echo "next_version=${{ github.event. inputs.version }}" >> $GITHUB_ENV
42- echo "Version provided: ${{ github.event. inputs.version }}"
40+ if [ -n "${{ inputs.version }}" ]; then
41+ echo "next_version=${{ inputs.version }}" >> $GITHUB_ENV
42+ echo "Version provided: ${{ inputs.version }}"
4343 else
4444 current_version=$(cat VERSION)
4545 echo "Current version: $current_version"
7272 java -jar openapi-generator-cli.jar generate -c openapitools.json
7373
7474 - name : Update repository with new version
75- if : github.event. inputs.version == ''
75+ if : inputs.version == ''
7676 run : |
7777 git config --global user.name "github-actions"
7878 git config --global user.email "[email protected] " @@ -111,7 +111,7 @@ jobs:
111111
112112 - name : Create Release
113113 id : create_release
114- if : github.event. inputs.version == ''
114+ if : inputs.version == ''
115115 env :
116116 GITHUB_TOKEN : ${{ github.token }}
117117 run : >-
You can’t perform that action at this time.
0 commit comments