Build and package

Setting pckage version
This commit is contained in:
Lukasz Warchol
2022-06-27 13:19:25 +00:00
committed by GitHub
parent 2914167b9b
commit 79316c3c93
3 changed files with 5 additions and 5 deletions

4
dist/index.js generated vendored
View File

@@ -102,7 +102,7 @@ function addToProject() {
// Next, use the GraphQL API to add the issue to the project.
const addResp = yield octokit.graphql(`mutation addIssueToProject($input: AddProjectV2ItemByIdInput!) {
addProjectV2ItemById(input: $input) {
projectItem {
item {
id
}
}
@@ -112,7 +112,7 @@ function addToProject() {
contentId
}
});
core.setOutput('itemId', addResp.addProjectV2ItemById.projectItem.id);
core.setOutput('itemId', addResp.addProjectV2ItemById.item.id);
});
}
exports.addToProject = addToProject;

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@@ -1,7 +1,7 @@
{
"name": "@actions/add-to-project",
"description": "Automatically issues and PRs to GitHub projects",
"version": "0.0.0",
"description": "Automatically adds issues and PRs to GitHub projects",
"version": "0.1.0",
"author": "GitHub and contributors",
"dependencies": {
"@actions/core": "^1.6.0",