From aee88dee0c1e685b125f4c4957cd2c03c288daa2 Mon Sep 17 00:00:00 2001 From: Joyce Quach Date: Fri, 1 Nov 2024 16:33:26 -0400 Subject: [PATCH] Remove step Signed-off-by: Joyce Quach --- .github/workflows/convert-cci-list.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/convert-cci-list.yml b/.github/workflows/convert-cci-list.yml index 87d78dd99c..d8afc3525f 100644 --- a/.github/workflows/convert-cci-list.yml +++ b/.github/workflows/convert-cci-list.yml @@ -45,14 +45,10 @@ jobs: - name: Set root directory path for produced XML file 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 $ROOT_DIRECTORY/U_CCI_List.nist.json $ROOT_DIRECTORY/U_CCI_List.defs.json $ROOT_DIRECTORY/U_CCI_List.cci.json - - - name: Update CCI to NIST and CCI to Definition mappings - run: | - 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/ - mv $ROOT_DIRECTORY/U_CCI_List.cci.json $ROOT_DIRECTORY/libs/hdf-converters/src/mappings/ + - name: Convert CCI List XML to CCI->NIST, CCI->Definitions, and NIST->CCI JSON files + run: yarn workspace @mitre/hdf-converters cciListXml2json $ROOT_DIRECTORY/U_CCI_List.xml $OUTPUT_DIRECTORY/U_CCI_List.nist.json $OUTPUT_DIRECTORY/U_CCI_List.defs.json $OUTPUT_DIRECTORY/U_CCI_List.cci.json + env: + OUTPUT_DIRECTORY: $ROOT_DIRECTORY/libs/hdf-converters/src/mappings/ - name: Commit changes to CciNistMappingData.ts # run: |