Skip to content

Commit

Permalink
exclude demonstrations_categories.metadata.json from upload-text
Browse files Browse the repository at this point in the history
…workflow (#1140)

It's not useful metadata and breaks the schema a little bit
  • Loading branch information
michaelvu97 committed Jul 3, 2024
1 parent 2202527 commit 8496380
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/upload-text.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,11 @@ jobs:
path: qml_text

- name: Copy Concatenated Metadata into Build
run: |
jq -s . $(find demonstrations -name "*.metadata.json" -type f) > ${{ steps.qml_text.outputs.download-path }}/demos/metadata.json
run: >
jq -s .
$(find demonstrations -name "*.metadata.json" -type f
! -name "demonstrations_categories.metadata.json")
> ${{ steps.qml_text.outputs.download-path }}/demos/metadata.json
- name: Upload
uses: XanaduAI/cloud-actions/push-to-s3-and-invalidate-cloudfront@main
Expand Down

0 comments on commit 8496380

Please sign in to comment.