Add release id to outputs (#60)

* Add release ID to outputs

* Update README
This commit is contained in:
Loïc Albertin 2021-05-02 00:56:49 +02:00 committed by softprops
parent 3b4957b6fd
commit 0a4afc0be2
4 changed files with 5 additions and 1 deletions

View file

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