File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,6 @@ jobs:
106106 - windows-latest
107107 - macos-15-intel
108108 - macos-latest
109- uses : .github/workflows/build-wheel.yml
109+ uses : ./. github/workflows/build-wheel.yml
110110 with :
111111 runner : $ {{ matrix.os }}
Original file line number Diff line number Diff line change @@ -31,14 +31,17 @@ jobs:
3131 - name : Set target version
3232 id : target_version
3333 run : |-
34- echo "TARGET_VERSION=${{ inputs.TESTPYPI_VERSION || `bump-my-version show current_version` }}" >> $GITHUB_OUTPUT
34+ CURRENT_VERSION=$(bump-my-version show current_version)
35+ INPUT_VALUE="${{ inputs.TESTPYPI_VERSION }}"
36+ TARGET_VERSION="${INPUT_VALUE:-$CURRENT_VERSION}"
37+ echo "TARGET_VERSION=$TARGET_VERSION" >> $GITHUB_OUTPUT
3538
3639 build-pyavd-utils-wheels :
3740 name : Build and test pyavd-utils wheel on ${{ matrix.os }}
38- # if: github.repository == 'aristanetworks/pyavd-utils'
41+ if : github.repository == 'aristanetworks/pyavd-utils'
3942 permissions :
4043 contents : read
41- actions : write # Needed to trigger workflows
44+ actions : write
4245 pull-requests : write
4346 strategy :
4447 matrix :
4851 - windows-latest
4952 - macos-15-intel
5053 - macos-latest
51- uses : ./.github/workflows/build-pyavd- wheel.yml
54+ uses : ./.github/workflows/build-wheel.yml
5255 with :
5356 runner : ${{ matrix.os }}
5457 # Default value to '' to not overwrite the version in the child workflow
You can’t perform that action at this time.
0 commit comments