Skip to content

Commit 87db804

Browse files
committed
test-warehouse: remove wrong awk use
1 parent e588009 commit 87db804

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test-warehouse.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ jobs:
143143
PROFILES_YML: ${{ (inputs.dbt-version == 'fusion' && secrets.CI_PROFILES_YML_FUSION) || secrets.CI_PROFILES_YML }}
144144
run: |
145145
mkdir -p ~/.dbt
146-
DBT_VERSION=$(echo "${{ inputs.dbt-version }}" | awk '{print $2}' | sed 's/\.//g')
146+
DBT_VERSION=$(echo "${{ inputs.dbt-version }}" | sed 's/\.//g')
147147
UNDERSCORED_REF_NAME=$(echo "${{ inputs.warehouse-type }}_dbt_${DBT_VERSION}_${BRANCH_NAME}" | awk '{print tolower($0)}' | head -c 40 | sed "s/[-\/]/_/g")
148148
echo "$PROFILES_YML" | base64 -d | sed "s/<SCHEMA_NAME>/dbt_pkg_$UNDERSCORED_REF_NAME/g" > ~/.dbt/profiles.yml
149149

0 commit comments

Comments
 (0)