From bfb1a598cf8b7e7f14fdb3fd90439668f7c8c64d Mon Sep 17 00:00:00 2001 From: JRPAN <25518778+JRPan@users.noreply.github.com> Date: Wed, 26 Jun 2024 16:29:36 -0400 Subject: [PATCH] test out mail --- .github/workflows/short-tests.yml | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/.github/workflows/short-tests.yml b/.github/workflows/short-tests.yml index 42c9c2a6a..f721f32a3 100644 --- a/.github/workflows/short-tests.yml +++ b/.github/workflows/short-tests.yml @@ -30,13 +30,7 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v4 - name: Run Simulation - run: | - echo "skipped SASS-Simulation. Will perform in merge queue" - BODY="Correlation Report at: https://tgrogers-pc01.ecn.purdue.edu/github-ci/accel-sim/correl/git_${GITHUB_REF}"_"$GITHUB_RUN_NUMBER"_"$GITHUB_RUN_ATTEMPT/" - SUBJECT="Github CI - $GITHUB_REF SUCCESS" - TO="pan251@purdue.edu" - echo "$BODY" | mail -s "$SUBJECT" "$TO" - echo "$BODY" + run: echo "skipped SASS-Simulation. Will perform in merge queue" Tracer-Tool: runs-on: ubuntu-latest @@ -45,4 +39,18 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v4 - name: Run Simulation - run: echo "skipped SASS-Simulation. Will perform in merge queue" \ No newline at end of file + run: echo "skipped SASS-Simulation. Will perform in merge queue" + SASS-Simulation: + runs-on: tgrogers-raid + defaults: + run: + shell: bash + steps: + - uses: actions/checkout@v4 + - name: mail test + run: | + BODY="Correlation Report at: https://tgrogers-pc01.ecn.purdue.edu/github-ci/accel-sim/correl/git_${GITHUB_REF}"_"$GITHUB_RUN_NUMBER"_"$GITHUB_RUN_ATTEMPT/" + SUBJECT="Github CI - $GITHUB_REF SUCCESS" + TO="pan251@purdue.edu" + echo "$BODY" | mail -s "$SUBJECT" "$TO" + echo "$BODY" \ No newline at end of file