Clarify references to Action ID and Workflow Run ID in logging

This commit is contained in:
James M. Greene
2023-02-22 08:01:01 -06:00
parent 93c1fe6967
commit 20fe504b3b

View File

@@ -18,7 +18,7 @@ class Deployment {
this.runTimeToken = context.runTimeToken
this.buildVersion = context.buildVersion
this.buildActor = context.buildActor
this.actionsId = context.workflowRun
this.actionsId = context.actionsId
this.githubToken = context.githubToken
this.workflowRun = context.workflowRun
this.requestedDeployment = false
@@ -35,6 +35,7 @@ class Deployment {
try {
core.info(`Actor: ${this.buildActor}`)
core.info(`Action ID: ${this.actionsId}`)
core.info(`Actions Workflow Run ID: ${this.workflowRun}`)
const pagesDeployEndpoint = `${this.githubApiUrl}/repos/${this.repositoryNwo}/pages/deployment`
const artifactExgUrl = `${this.runTimeUrl}_apis/pipelines/workflows/${this.workflowRun}/artifacts?api-version=6.0-preview`
core.info(`Artifact URL: ${artifactExgUrl}`)