Skip to content

Commit 791d01e

Browse files
disable --uploadUrlMap by default in every branch
it started to work GoogleChrome/lighthouse-ci#250 (comment)
1 parent dd5c6e4 commit 791d01e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/index.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ async function main() {
6464
if (input.serverToken || input.temporaryPublicStorage || input.uploadArtifacts) {
6565
core.startGroup(`Uploading`)
6666

67+
// upload artifacts as soon as collected
68+
if (input.uploadArtifacts) {
69+
await uploadArtifacts(resultsPath)
70+
}
71+
6772
if (input.serverToken || input.temporaryPublicStorage) {
6873
const uploadParams = []
6974

@@ -75,18 +80,13 @@ async function main() {
7580
'--ignoreDuplicateBuildFailure' // ignore failure on the same commit rerun
7681
)
7782
} else if (input.temporaryPublicStorage) {
78-
uploadParams.push('--target=temporary-public-storage', '--uploadUrlMap=true')
83+
uploadParams.push('--target=temporary-public-storage')
7984
}
8085

8186
const uploadStatus = runChildCommand('upload', uploadParams)
8287
if (uploadStatus !== 0) throw new Error(`LHCI 'upload' failed to upload to LHCI server.`)
8388
}
8489

85-
// upload artifacts as soon as collected
86-
if (input.uploadArtifacts) {
87-
await uploadArtifacts(resultsPath)
88-
}
89-
9090
core.endGroup() // Uploading
9191
}
9292

0 commit comments

Comments
 (0)