From 798966dfb7d0206ea771f56dc2c0e77a701e543c Mon Sep 17 00:00:00 2001 From: yuchengt900 Date: Wed, 10 Jan 2024 12:25:10 -0500 Subject: [PATCH] tidy up ci scripts --- .github/workflows/NWA12_RT.yaml | 4 ++-- ci/create_run_xml_from_template.bash | 5 +---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/NWA12_RT.yaml b/.github/workflows/NWA12_RT.yaml index 4c69e28..a8c006a 100644 --- a/.github/workflows/NWA12_RT.yaml +++ b/.github/workflows/NWA12_RT.yaml @@ -15,8 +15,8 @@ on: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: - # This workflow contains a single job called "build" - build: + # This workflow contains a single job called "NWA12_RT_run" + NWA12_RT_run: # The type of runner that the job will run on runs-on: self-hosted diff --git a/ci/create_run_xml_from_template.bash b/ci/create_run_xml_from_template.bash index 76f9a9c..a5eba3d 100755 --- a/ci/create_run_xml_from_template.bash +++ b/ci/create_run_xml_from_template.bash @@ -53,10 +53,7 @@ cat ocean_ice_cobalt_experiments.template.xml | sed -e "s//$hash_F > ocean_ice_cobalt_experiments.xml -# -- clean up tmp folders or runs from previos runs -echo "remove MOM6_OBGC_examples folder" -rm -rf MOM6_OBGC_examples - +# -- clean up work folders or runs from previos runs workflow_directory="/lustre/f2/dev/Yi-cheng.Teng/github/cefi_NWA12_regression_${CURRENT_DATE}" # Check if the directory exists if [ -d "$workflow_directory" ]; then