mirror of
https://github.com/docker/actions-toolkit.git
synced 2024-11-23 11:36:10 +08:00
Merge pull request #383 from crazy-max/summary-rm-preview-title
github(summary): remove preview title and tidy download link
This commit is contained in:
commit
e600fe266c
@ -243,9 +243,7 @@ export class GitHub {
|
|||||||
.addRaw(addLink('Learn more', 'https://docs.docker.com/go/build-summary/'))
|
.addRaw(addLink('Learn more', 'https://docs.docker.com/go/build-summary/'))
|
||||||
.addRaw('</p>')
|
.addRaw('</p>')
|
||||||
.addRaw(`<p>`)
|
.addRaw(`<p>`)
|
||||||
.addRaw(`:arrow_down: ${addLink(`<strong>${Util.stringToUnicodeEntities(opts.uploadRes.filename)}</strong>`, artifactRelativeURL)} (${Util.formatFileSize(opts.uploadRes.size)})`)
|
.addRaw(`:arrow_down: ${addLink(`<strong>${Util.stringToUnicodeEntities(opts.uploadRes.filename)}</strong>`, artifactRelativeURL)} (${Util.formatFileSize(opts.uploadRes.size)} - includes <strong>${refsSize} build record${refsSize > 1 ? 's' : ''}</strong>)`)
|
||||||
.addBreak()
|
|
||||||
.addRaw(`This file includes <strong>${refsSize} build record${refsSize > 1 ? 's' : ''}</strong>.`)
|
|
||||||
.addRaw(`</p>`)
|
.addRaw(`</p>`)
|
||||||
.addRaw(`<p>`)
|
.addRaw(`<p>`)
|
||||||
.addRaw(`Find this useful? `)
|
.addRaw(`Find this useful? `)
|
||||||
@ -253,7 +251,7 @@ export class GitHub {
|
|||||||
.addRaw('</p>');
|
.addRaw('</p>');
|
||||||
|
|
||||||
// Preview
|
// Preview
|
||||||
sum.addRaw(`<strong>Preview</strong>`).addBreak().addRaw('<p>');
|
sum.addRaw('<p>');
|
||||||
const summaryTableData: Array<Array<SummaryTableCell>> = [
|
const summaryTableData: Array<Array<SummaryTableCell>> = [
|
||||||
[
|
[
|
||||||
{header: true, data: 'ID'},
|
{header: true, data: 'ID'},
|
||||||
|
Loading…
Reference in New Issue
Block a user