Commit graph

88 commits

Author SHA1 Message Date
Jozef Steinhübl
ac64dabe8a
feat: add bun paths and url to output
Fixes https://github.com/oven-sh/setup-bun/issues/81
2024-05-27 18:47:06 +02:00
Jozef Steinhübl
b43e4d10ce
refactor: .bun-version instead .bunrc 2024-05-22 18:13:10 +02:00
Jozef Steinhübl
90f3195457
feat: support .bunrc 2024-05-20 16:26:00 +02:00
Jozef Steinhübl
1cea06d8fc
refactor: dont try all files if not defined 2024-05-08 11:41:47 +02:00
Jozef Steinhübl
6c61d0abb9
docs: add comment for easier understanding 2024-05-08 10:23:56 +02:00
Jozef Steinhübl
f885433d15
fix: add .zip extension if it's not present
Workaround for https://github.com/actions/toolkit/issues/1179

Fixes https://github.com/oven-sh/setup-bun/issues/79
2024-05-08 10:18:01 +02:00
Jozef Steinhübl
11f18d9470
feat: log obtained version 2024-05-07 21:09:01 +02:00
Jozef Steinhübl
ebd802865f
better warnings, fix ci failing 2024-05-07 21:00:04 +02:00
Jozef Steinhübl
3b5d9934d5
log log log 2024-05-07 20:53:05 +02:00
Jozef Steinhübl
2c991200e5
log loglog 2024-05-07 20:47:27 +02:00
Jozef Steinhübl
13cc864142
fix: make whitespace in .tool-versions optional 2024-05-07 20:40:38 +02:00
Jozef Steinhübl
ff32c47b98
fix: return output if found version 2024-05-07 20:33:22 +02:00
Jozef Steinhübl
7d417e1d34
fix: just continue if file doesnt exist 2024-05-07 20:24:25 +02:00
Jozef Steinhübl
e95e252b85
feat: read from all known files if not specified 2024-05-07 20:19:42 +02:00
Jozef Steinhübl
a0f1a9b3d0
refactor: reduce read from file code 2024-05-07 20:11:52 +02:00
Ade Hery Shopyan
3ef79febc9
feat: add input bun-version-file (#76)
* feat: add input for bun-version-file

* docs: update example bun version file

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-04-12 22:17:14 +02:00
Jozef Steinhübl
8f24390df0
fix: close immediately (#75)
* fix

* add test for outputs

* ci: use correct outputs from setup bun

* dist update

* feat: add timeout

* c

* increase

* [autofix.ci] apply automated fixes

* refactor: remove unnecesary loging, decrease retries

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-04-03 14:01:25 +02:00
Jozef Steinhübl
932c3b236c
fix: retry installing three times, add windows for testing (#72)
* ci: test windows

* ci: specify shell

* ci: we don't have >1.1.0

* fix: retry installing version three times

* [autofix.ci] apply automated fixes

* build: bump version to 1.2.1

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-04-02 11:24:51 +02:00
Jozef Steinhübl
9e6479509b
feat: support .tool-versions (#68)
* feat: support .tool-versions

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-04-02 10:26:15 +02:00
Max Schwenk
d3603274ac
Add no-cache option (#58) 2024-02-23 11:09:38 -08:00
Andy Palmer
0f37bd8169
Move cache save to runs.post and exit early (#60) 2024-02-16 14:14:07 -08:00
Jozef Steinhübl
c0059f0222
fix: package manager (#42)
* fix: read version from package json

* [autofix.ci] apply automated fixes

* Update index.ts

* Update action.yml

* [autofix.ci] apply automated fixes

* yarn does random things

* [autofix.ci] apply automated fixes

* ci: check if version from packageManager is actually 1.0.0

* ci: bash is not javascript

* ci: use  instead ::set-output

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-03 13:42:54 +01:00
Ashcon Partovi
a93230df19
Various improvements and fixes to setup-bun (#40)
* Do not save cache on hit
* Support Windows (canary only)
* Support `registry-url` and `scope`
2023-11-17 15:58:17 -08:00
Vitor Gomes
830e319e28
Add auth setup for private registry with scope (#16)
feat: add auth setup to private registry with scope
2023-11-01 10:17:17 +01:00
Dan Adajian
6be87460e3
feat: support packageManager in package.json (#27) 2023-10-25 15:13:22 +02:00
Ashcon Partovi
c34bee2511
Fix bunx (#18)
* Add symlink for bunx

* Remove node_modules, use bundled code instead

* Add revision support
2023-09-11 12:37:45 -07:00
Nilesh Suthar
67e559db2c
fix: use copy instead of mv (#15)
* fix: use copy instead of mv

* fix: path does not exist
2023-09-07 19:46:23 +02:00
Ashcon Partovi
4573031972 Do not cache action releases 2023-03-01 17:36:06 -08:00
Ashcon Partovi
1c8c9a7615 Fix encoding bug with 'action:<number>' version 2023-03-01 16:49:16 -08:00
Ashcon Partovi
157143337b Make cacheHit conform to best practices for actions 2023-03-01 15:58:31 -08:00
Ashcon Partovi
15050a7632 Actually fix double zip issue 2023-02-22 18:19:00 -08:00
Ashcon Partovi
a730821cf4 Fix double zip issue? 2023-02-22 18:11:20 -08:00
Ashcon Partovi
8c368db359 Add debug statements 2023-02-22 18:05:23 -08:00
Ashcon Partovi
3f252a86a6 Fix not being added to path 2023-02-22 17:51:12 -08:00
Ashcon Partovi
9c14b74b45 Next release of setup-bun 2023-02-22 17:47:24 -08:00
xHyroM
21ca0e24af chore: bump version 2022-07-28 09:25:52 +02:00
xHyroM
38a9038faf fix: extract two times for custom urls 2022-07-28 09:19:39 +02:00
xHyroM
1e0686b2cc fix: extract two times for custom urls 2022-07-28 09:18:51 +02:00
xHyroM
a11484a419 chore: dont cache if customDownloadUrl 2022-07-28 09:12:02 +02:00
xHyroM
fe160cf381 chore: debug 2022-07-28 08:44:36 +02:00
xHyroM
dbb8e61d45 chore: debug 2022-07-28 08:42:43 +02:00
xHyroM
a99ac77932 chore: build 2022-07-28 08:39:58 +02:00
xHyroM
fe4b2b1cd6 chore: build 2022-07-28 08:39:00 +02:00
xHyroM
10e847eceb fix: im idiot.... 2022-07-28 08:37:15 +02:00
xHyroM
b3fb4f3421 chore: debug 2022-07-28 08:35:10 +02:00
xHyroM
f5a14b237f chore: debug 2022-07-28 08:31:07 +02:00
xHyroM
befdce7132 chore: debug 2022-07-28 08:27:11 +02:00
xHyroM
3c39374369 chore: debug 2022-07-28 08:26:28 +02:00
xHyroM
3e21e45aa4 chore: debug 2022-07-28 08:24:56 +02:00
xHyroM
bc3424761e chore: debug 2022-07-28 08:21:25 +02:00