Skip to content

Commit 1058912

Browse files
committed
CI: Update workflows issues
1 parent be6346b commit 1058912

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/pull-request-management.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 }}

.github/workflows/release.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff 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:
@@ -48,7 +51,7 @@ jobs:
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

0 commit comments

Comments
 (0)