github: use default client and skip archive when uploading artifact

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2026-02-26 09:23:01 +01:00
parent 03628ab393
commit 5e783cc801
7 changed files with 16 additions and 96 deletions

View File

@@ -33,7 +33,6 @@ maybe('upload', () => {
fs.copyFileSync(path.join(fixturesDir, `github-repo.json`), filename);
const res = await GitHubArtifact.upload({
filename: filename,
mimeType: 'application/json',
retentionDays: 1
});
expect(res).toBeDefined();

View File

@@ -85,7 +85,6 @@ maybe('writeBuildSummary', () => {
const uploadRes = await GitHubArtifact.upload({
filename: exportRes?.dockerbuildFilename,
mimeType: 'application/gzip',
retentionDays: 1
});
expect(uploadRes).toBeDefined();
@@ -165,7 +164,6 @@ maybe('writeBuildSummary', () => {
const uploadRes = await GitHubArtifact.upload({
filename: exportRes?.dockerbuildFilename,
mimeType: 'application/gzip',
retentionDays: 1
});
expect(uploadRes).toBeDefined();
@@ -220,7 +218,6 @@ maybe('writeBuildSummary', () => {
const uploadRes = await GitHubArtifact.upload({
filename: exportRes?.dockerbuildFilename,
mimeType: 'application/gzip',
retentionDays: 1
});
expect(uploadRes).toBeDefined();