Skip to content

Commit

Permalink
Extra debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
konradpabjan committed Aug 17, 2023
1 parent 8aed76b commit d4c5391
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/artifact/__tests__/ci-test-action/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'Set env variables'
description: 'Sets certain env variables so that e2e artifact upload, list, get and download can be tested in a shell'
runs:
using: 'node12'
using: 'node16'
main: 'index.js'
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {HttpClient, HttpClientResponse, HttpCodes} from '@actions/http-client'
import {BearerCredentialHandler} from '@actions/http-client/lib/auth'
import {info} from '@actions/core'
import {info, debug} from '@actions/core'
import {ArtifactServiceClientJSON} from '../../generated'
import {getResultsServiceUrl, getRuntimeToken} from './config'

Expand Down Expand Up @@ -53,6 +53,7 @@ class ArtifactHttpClient implements Rpc {
data: object | Uint8Array
): Promise<object | Uint8Array> {
const url = `${this.baseUrl}/twirp/${service}/${method}`
debug(`Requesting ${url}`)
const headers = {
'Content-Type': contentType
}
Expand Down

0 comments on commit d4c5391

Please sign in to comment.