Skip to content

Commit 9a285f4

Browse files
committed
Fix autoscaler version extraction in workflow job
1 parent b45e107 commit 9a285f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/main.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ jobs:
66
name: "Extract autoscaler version"
77
runs-on: ubuntu-latest
88
outputs:
9-
autoscaler_version: ${{ steps.extract_version.outputs.autoscaler_version }}
9+
autoscaler_version: ${{ steps.extract.outputs.autoscaler_version }}
1010
steps:
1111
- name: "Clone repository"
1212
uses: actions/checkout@v4
1313
- name: "Write version to outputs"
14+
id: extract
1415
run: |
1516
VERSION=$(grep -oP '(?<=autoscaler_version = ")[^"]*' version.tf)
1617
if [ -z "${VERSION}" ]; then exit 1; fi

0 commit comments

Comments
 (0)