Skip to content

Commit 6ad4f74

Browse files
committed
API-284: Trying to bq load
1 parent 85e539b commit 6ad4f74

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/store-api-spec-lint-results.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -152,18 +152,15 @@ jobs:
152152
rows_array+=("$row")
153153
done <<< "$sources"
154154
155-
printf '%s\n' "${rows_array[@]}" > transformed.ndjson
156-
157-
echo "transformed.ndjson: $(cat transformed.ndjson)"
155+
printf '%s\n' "${rows_array[@]}" > transformed.json
158156
159157
- name: Write to BigQuery
160158
if: steps.check-hashes.outputs.changes == 'true'
161159
id: write-to-bigquery
162160
shell: bash
163161
run: |
164162
bq load \
165-
--project_id=ent-apidata-dev
166163
--source_format=NEWLINE_DELIMITED_JSON \
167164
--autodetect \
168165
ent-apidata-dev:api.rest_api_lint \
169-
transformed.ndjson
166+
transformed.json

0 commit comments

Comments
 (0)