Fix bunx (#18)

* Add symlink for bunx

* Remove node_modules, use bundled code instead

* Add revision support
This commit is contained in:
Ashcon Partovi 2023-09-11 12:37:45 -07:00 committed by GitHub
parent 67e559db2c
commit c34bee2511
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
272 changed files with 71159 additions and 37631 deletions

View file

@ -10,8 +10,9 @@ setup({
version: action.getInput("bun-version") || undefined,
customUrl: action.getInput("bun-download-url") || undefined,
})
.then(({ version, cacheHit }) => {
.then(({ version, revision, cacheHit }) => {
action.setOutput("bun-version", version);
action.setOutput("bun-revision", revision);
action.setOutput("cache-hit", cacheHit);
})
.catch((error) => {