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 7a5d80c commit f6c0f2d
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/e2e_custom_cl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,19 +131,20 @@ jobs:
QA_AWS_REGION: ${{ secrets.QA_AWS_REGION }}
QA_AWS_ACCOUNT_NUMBER: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }}

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
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
e2e_custom_run_smoke_tests:
name: ${{ needs.setup.outputs.job_name }}
Expand Down

0 comments on commit f6c0f2d

Please sign in to comment.