-
Hello, I am new to GitHub Actions. I managed to create my first running workflow with some basic steps but I cannot find a way to create link to specific section in logs. When I open job log and navigate to specific step named Is there a way to get long number in url above as variable inside workflow so I can construct and publish a link to log. Also is there a way to change
Something like this would be perfect: Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Solved. I had to use GitHub API. First I run pylint with
With curl I access information from GitHub API and parse them with I loop trough list and check if contained field
With these when setting state I construct
With this, |
Beta Was this translation helpful? Give feedback.
Solved. I had to use GitHub API.
First I run pylint with
name
andid
set.With curl I access information from GitHub API and parse them with
jq
.Returned JSON contain list of jobs runned in repository and specific run selected by
${GITHUB_RUN_ID
.I loop trough list and check if contained field
name
is same as wanted by${GITHUB_JOB}
When found, I store field
id
in${{ LOG_I…