set output SHAREABLE_URL

This commit is contained in:
dojineko 2021-06-19 01:32:53 +09:00
parent e1264cbb56
commit 5825f9614a

View File

@ -83,6 +83,7 @@ export class NextcloudArtifact {
try { try {
const shareableUrl = await client.uploadFiles(files.filesToUpload) const shareableUrl = await client.uploadFiles(files.filesToUpload)
core.setOutput('SHAREABLE_URL', shareableUrl)
core.info(`Nextcloud shareable URL: ${shareableUrl}`) core.info(`Nextcloud shareable URL: ${shareableUrl}`)
const resp = await this.octokit.rest.checks.update({ const resp = await this.octokit.rest.checks.update({
check_run_id: createResp.data.id, check_run_id: createResp.data.id,