Merge pull request #1 from dojineko/set-output

set output SHAREABLE_URL
This commit is contained in:
TrymPet 2021-06-18 20:05:05 +02:00 committed by GitHub
commit 62e99ad6b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,