Skip to content

Commit bf31481

Browse files
authored
Use the default client instead (#374)
1 parent e495015 commit bf31481

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/client.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import {
2323
StorageOptions,
2424
UploadOptions,
2525
} from '@google-cloud/storage';
26-
import { GoogleAuth } from 'google-auth-library';
2726
import { errorMessage, toPlatformPath, toPosixPath } from '@google-github-actions/actions-utils';
2827

2928
import { Metadata } from './headers';
@@ -174,13 +173,7 @@ export class Client {
174173
}
175174

176175
private constructor(opts?: ClientOptions) {
177-
const authClient = new GoogleAuth({
178-
projectId: opts?.projectID,
179-
universeDomain: opts?.universe,
180-
});
181-
182176
const options: StorageOptions = {
183-
authClient: authClient,
184177
projectId: opts?.projectID,
185178
universeDomain: opts?.universe,
186179
userAgent: userAgent,

0 commit comments

Comments
 (0)