Add release ID to outputs

This commit is contained in:
Albertin Loic 2020-09-24 13:23:05 +02:00
parent 4fb86a77e0
commit fc23b5f44a
No known key found for this signature in database
GPG key ID: CEC427E796B6C023
3 changed files with 4 additions and 1 deletions

View file

@ -32,6 +32,8 @@ env:
outputs:
url:
description: 'URL to the Release HTML Page'
id:
description: 'Release ID'
runs:
using: 'node12'
main: 'dist/index.js'

2
dist/index.js vendored

File diff suppressed because one or more lines are too long

View file

@ -55,6 +55,7 @@ async function run() {
}
console.log(`🎉 Release ready at ${rel.html_url}`);
setOutput("url", rel.html_url);
setOutput("id", rel.id.toString());
} catch (error) {
setFailed(error.message);
}