Skip to content

Commit

Permalink
Fix env var
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 aee88de commit 4472627
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 @@ -43,12 +43,12 @@ jobs:
namespaces: '{"ns": "http://iase.disa.mil/cci"}'

- name: Set root directory path for produced XML file
run: echo "ROOT_DIRECTORY=$(pwd)" >> $GITHUB_ENV
run: |
echo "ROOT_DIRECTORY=$(pwd)" >> $GITHUB_ENV
echo "OUTPUT_DIRECTORY=$ROOT_DIRECTORY/libs/hdf-converters/src/mappings/" >> $GITHUB_ENV
- 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: |
Expand Down

0 comments on commit 4472627

Please sign in to comment.