diff --git a/.github/workflows/automation-msgraph-metadata-importer.yaml b/.github/workflows/automation-msgraph-metadata-importer.yaml index 5d221fdc59b..51f93906c5b 100644 --- a/.github/workflows/automation-msgraph-metadata-importer.yaml +++ b/.github/workflows/automation-msgraph-metadata-importer.yaml @@ -41,7 +41,7 @@ jobs: cd ./tools/importer-msgraph-metadata make tools make build - make import + make import-all-clean env: PANDORA_LOG: WARN diff --git a/tools/importer-msgraph-metadata/GNUmakefile b/tools/importer-msgraph-metadata/GNUmakefile index 89517267a91..ff5c5fe87bd 100644 --- a/tools/importer-msgraph-metadata/GNUmakefile +++ b/tools/importer-msgraph-metadata/GNUmakefile @@ -16,10 +16,9 @@ import: build # to fix design issues, which are actually issues in the API Data dotnet format whitespace --verbosity quiet ../../data/Pandora.sln -import-with-api: build - ./importer-rest-api-specs import --data-api=http://localhost:5000 - # note we're intentionally only using whitespace here since the others try - # to fix design issues, which are actually issues in the API Data +import-all-clean: build + rm -r ../../data/Pandora.Definitions.MicrosoftGraph.*/[A-Z]*/ + ./importer-msgraph-metadata import dotnet format whitespace --verbosity quiet ../../data/Pandora.sln test: build