Skip to content

Commit

Permalink
Added additional job to change name if run is scheduled
Browse files Browse the repository at this point in the history
  • Loading branch information
smickovskid committed Jun 27, 2023
1 parent f6c0f2d commit 1dd0285
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/e2e_custom_cl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,20 +131,20 @@ jobs:
QA_AWS_REGION: ${{ secrets.QA_AWS_REGION }}
QA_AWS_ACCOUNT_NUMBER: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }}

jobs:
setup:
runs-on: ubuntu-latest
outputs:
job_name: ${{ steps.set_job_name.outputs.job_name }}
steps:
- name: Set job name
id: set_job_name
run: |
if [[ "${{ github.event_name }}" == "schedule" ]]; then
echo "job_name='Simulated E2E Custom Run Smoke Tests'" >> $GITHUB_ENV
else
echo "job_name='E2E Custom Run Smoke Tests'" >> $GITHUB_ENV
fi

setup:
runs-on: ubuntu-latest
outputs:
job_name: ${{ steps.set_job_name.outputs.job_name }}
steps:
- name: Set job name
id: set_job_name
run: |
if [[ "${{ github.event_name }}" == "schedule" ]]; then
echo "job_name='Simulated E2E Custom Run Smoke Tests'" >> $GITHUB_ENV
else
echo "job_name='E2E Custom Run Smoke Tests'" >> $GITHUB_ENV
fi
e2e_custom_run_smoke_tests:
name: ${{ needs.setup.outputs.job_name }}
Expand Down

0 comments on commit 1dd0285

Please sign in to comment.