I have a problem, when I want to get the job id using the GitHub context in yaml file, it responds with a String:
- name: Test
run: |
sendEmail ${{github.job]}
I obtain this response:
sendEmail Job_Test
In the GitHub documentation for the API, it says the following, which is an Integer field:
But, in the documentation of the contexts it says that it is String:
My question is, what is it or how could I obtain the context to obtain the job id, the integer value?