Skip to content

Commit

Permalink
Merge pull request #27 from depot/refactor/remove-build-targets
Browse files Browse the repository at this point in the history
refactor: remove build targets
  • Loading branch information
goller authored Mar 7, 2024
2 parents 513921d + 7b5dbd3 commit 143e50b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ The following inputs can be used as `step.with` keys and match the inputs from [
| `metadata` | JSON | Build result metadata |
| `project-id` | String | Depot Project ID |
| `build-id` | String | Depot Build ID |
| `targets` | Array | Saved Bake Targets |

## License

Expand Down
5 changes: 1 addition & 4 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76151,7 +76151,7 @@ async function main() {
const metadata = getMetadata();
if (metadata) {
await core3.group(`Metadata`, async () => {
var _a, _b, _c;
var _a, _b;
core3.info(metadata);
core3.setOutput("metadata", metadata);
try {
Expand All @@ -76162,9 +76162,6 @@ async function main() {
if ((_b = parsed == null ? void 0 : parsed["depot.build"]) == null ? void 0 : _b.projectID) {
core3.setOutput("project-id", parsed["depot.build"].projectID);
}
if ((_c = parsed == null ? void 0 : parsed["depot.build"]) == null ? void 0 : _c.targets) {
core3.setOutput("targets", parsed["depot.build"].targets);
}
} catch {
}
});
Expand Down
3 changes: 0 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ async function main() {
if (parsed?.['depot.build']?.projectID) {
core.setOutput('project-id', parsed['depot.build'].projectID)
}
if (parsed?.['depot.build']?.targets) {
core.setOutput('targets', parsed['depot.build'].targets)
}
} catch {}
})
}
Expand Down

0 comments on commit 143e50b

Please sign in to comment.