Skip to content

Commit

Permalink
Update paths to input and output XML files
Browse files Browse the repository at this point in the history
Signed-off-by: Joyce Quach <[email protected]>
  • Loading branch information
jtquach1 committed Nov 1, 2024
1 parent ffb7149 commit 1aa2ddb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/convert-cci-list.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ jobs:
run: echo "ROOT_DIRECTORY=$(pwd)" >> $GITHUB_ENV

- name: Convert CCI List XML to two JSON files
run: yarn workspace @mitre/hdf-converters cciListXml2json $ROOT_DIRECTORY/U_CCI_List.xml U_CCI_List.nist.json U_CCI_List.defs.json
run: yarn workspace @mitre/hdf-converters cciListXml2json $ROOT_DIRECTORY/U_CCI_List.xml $ROOT_DIRECTORY/U_CCI_List.nist.json $ROOT_DIRECTORY/U_CCI_List.defs.json

- name: Update CCI to NIST and CCI to Definition mappings
run: |
mv U_CCI_List.nist.json libs/hdf-converters/src/mappings/
mv U_CCI_List.defs.json libs/hdf-converters/src/mappings/
mv $ROOT_DIRECTORY/U_CCI_List.nist.json $ROOT_DIRECTORY/libs/hdf-converters/src/mappings/
mv $ROOT_DIRECTORY/U_CCI_List.defs.json $ROOT_DIRECTORY/libs/hdf-converters/src/mappings/
- name: Commit changes to CciNistMappingData.ts
env:
Expand Down

0 comments on commit 1aa2ddb

Please sign in to comment.