File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 description : " The Git reference (branch/tag) to check"
99 required : true
1010
11+ outputs :
12+ version :
13+ description : " The determined version"
14+ value : ${{ steps.version_handler.outputs.version }}
15+
1116runs :
1217 using : " composite"
1318 steps :
3439 run : |
3540 python .github/workflows/version_handler.py
3641
37- # Set the output VERSION from the result of the script
38- - name : Set version output
39- shell : bash
40- run : echo "VERSION=${{ steps.version_handler.outputs.version }}" >> $GITHUB_ENV
41-
4242 - name : Fail if version is 0
4343 shell : bash
4444 run : |
Original file line number Diff line number Diff line change 1515 uses : actions/checkout@v3
1616
1717 - name : Get latest release version
18+ id : version_check
1819 uses : ./.github/actions/version
1920 with :
2021 repository : ${{ github.repository }}
3738 uses : ./.github/actions/release
3839 with :
3940 build-config : ${{env.BUILD_CONFIGURATION}}
40- version-name : ${{env.VERSION }}
41+ version-name : ${{steps.version_check.outputs.version }}
4142 prelease : true
4243 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments