Relative Content

Tag Archive for github-actionsgithub-api

github rest api variables

I’m trying to access the github deloyment vriables using the github rest api.
but I’m unable to get the variables value inside the worlflow. It throws an error

How to retrieve the numeric job id in a workflow?

I have an organization called “test”, in this organization I have some repos, I want to retrieve the numeric ID of a job. For example, this is my job URL: https://github.com/test/repo1/actions/runs/170602/job/3562451. I want to retrieve the last ID, which is 3562451.