Skip to content

Commit ea0bd01

Browse files
Update .github/workflows/typespec-sync.yml
Co-authored-by: Deyaa <dealmaha@microsoft.com>
1 parent 734c255 commit ea0bd01

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/typespec-sync.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ jobs:
8383
set -euo pipefail
8484
cd "$PACKAGE_PATH"
8585
86-
SPEC_REPO=$(grep '^repo:' tsp-location.yaml | awk '{print $2}')
87-
SPEC_DIR=$(grep '^directory:' tsp-location.yaml | awk '{print $2}')
88-
CURRENT_COMMIT=$(grep '^commit:' tsp-location.yaml | awk '{print $2}')
86+
SPEC_REPO=$(yq '.repo' tsp-location.yaml)
87+
SPEC_DIR=$(yq '.directory' tsp-location.yaml)
88+
CURRENT_COMMIT=$(yq '.commit' tsp-location.yaml)
8989
9090
echo "Spec repo: $SPEC_REPO"
9191
echo "Spec directory: $SPEC_DIR"

0 commit comments

Comments
 (0)