File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,14 +43,14 @@ jobs:
4343 id : get_version
4444 uses : danielboxer/next-version-action@v1
4545 with :
46- increment : ${{ github.event. inputs.increment }}
47- version : ${{ github.event. inputs.version }}
46+ increment : ${{ inputs.increment }}
47+ version : ${{ inputs.version }}
4848 use_v_prefix : true
4949
5050 # 1. get engine zips from previous release
5151 - name : Download engines
5252 id : download_engines
53- if : ${{ github.event. inputs.use_old_engine == 'true' }}
53+ if : ${{ inputs.use_old_engine }}
5454 uses : robinraju/release-downloader@v1
5555 with :
5656 latest : true
7575
7676 # 4. upload engine if not new
7777 - name : Upload engine
78- if : ${{ github.event. inputs.use_old_engine == 'true' && fromJSON(steps.download_engines.outputs.downloaded_files || '[]').length > 0 }}
78+ if : ${{ inputs.use_old_engine && fromJSON(steps.download_engines.outputs.downloaded_files || '[]')[0] != null }}
7979 uses : softprops/action-gh-release@v2
8080 with :
8181 tag_name : ${{ steps.get_version.outputs.new_version }}
You can’t perform that action at this time.
0 commit comments