From ef52b9652c02f2e764d0b1b2fb4c03738f6eea6b Mon Sep 17 00:00:00 2001 From: marwaneltoukhy Date: Sun, 8 Oct 2023 14:25:29 +0300 Subject: [PATCH] added CI for defaults updating --- .github/workflows/update_defaults.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/update_defaults.yaml b/.github/workflows/update_defaults.yaml index 1d4dcf5..721f5e0 100644 --- a/.github/workflows/update_defaults.yaml +++ b/.github/workflows/update_defaults.yaml @@ -22,11 +22,15 @@ jobs: mkdir -p $GITHUB_WORKSPACE/tmp_default_content/gds if [ "${{ matrix.design_types }}" = "openframe" ]; then repo_name="caravel_openframe_project" + gds_name="openframe_project_wrapper" elif [ "${{ matrix.design_types }}" = "analog" ]; then repo_name="caravel_user_project_analog" + gds_name="user_analog_project_wrapper" elif [ "${{ matrix.design_types }}" = "digital" ]; then repo_name="caravel_user_project" + gds_name="user_project_wrapper" fi curl -o $GITHUB_WORKSPACE/tmp_default_content/README_${{ matrix.design_types }}.md -L https://raw.githubusercontent.com/efabless/$repo_name/main/README.md + curl -o $GITHUB_WORKSPACE/tmp_default_content/gds/$gds_name.gds -L https://raw.githubusercontent.com/efabless/$repo_name/main/gds/$gds_name.gds python3 $GITHUB_WORKSPACE/checks/defaults_check.py -i $GITHUB_WORKSPACE/tmp_default_content -d $GITHUB_WORKSPACE/_default_content \ No newline at end of file