autofix-ci[bot]
237a6a77d8
[autofix.ci] apply automated fixes
2025-07-10 19:07:39 +00:00
Jozef Steinhübl
56169ab7b0
feat: read engines from package json ( #132 )
...
* feat: read engines from package.json
closes https://github.com/oven-sh/setup-bun/issues/115
* ci: test for engines package.json
* [autofix.ci] apply automated fixes
* ci: test for engines package.json
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-10 20:58:50 +02:00
Jozef Steinhübl
34f777aec1
feat: support for multiple registries ( #109 )
...
🧪 Test / setup-bun from (windows-latest, download url) (push) Has been cancelled
🧪 Test / setup-bun (1, macos-latest) (push) Has been cancelled
🧪 Test / setup-bun (1, windows-latest) (push) Has been cancelled
🧪 Test / setup-bun (1.1.0, macos-latest) (push) Has been cancelled
🧪 Test / setup-bun (1.1.0, windows-latest) (push) Has been cancelled
🧪 Test / setup-bun (1.x, macos-latest) (push) Has been cancelled
🧪 Test / setup-bun (1.x, windows-latest) (push) Has been cancelled
🧪 Test / setup-bun (< 2, macos-latest) (push) Has been cancelled
🧪 Test / setup-bun (< 2, windows-latest) (push) Has been cancelled
🧪 Test / setup-bun (> 1.0.0, macos-latest) (push) Has been cancelled
🧪 Test / setup-bun (> 1.0.0, windows-latest) (push) Has been cancelled
🧪 Test / setup-bun (canary, macos-latest) (push) Has been cancelled
🧪 Test / setup-bun (canary, windows-latest) (push) Has been cancelled
🧪 Test / setup-bun (latest, windows-latest) (push) Has been cancelled
🧪 Test / setup-bun from (macos-latest, .bumrc (1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (windows-latest, .bumrc (1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (macos-latest, .bun-version (1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (windows-latest, .bun-version (1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (macos-latest, .tool-versions (bun 1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (windows-latest, .tool-versions (bun 1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (macos-latest, .tool-versions (bun 1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (windows-latest, .tool-versions (bun 1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (windows-latest, .tool-versions (bun1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (macos-latest, /foo/package.json (bun@1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (windows-latest, /foo/package.json (bun@1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (macos-latest, package.json (bun@1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (windows-latest, package.json (bun@1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (macos-latest, package.json (yarn@bun@1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (windows-latest, package.json (yarn@bun@1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (macos-latest, download url) (push) Has been cancelled
* feat: support for multiple registries
* [autofix.ci] apply automated fixes
* refactor: drop unnecessary check
* fix: pass empty array instead undefined
* [autofix.ci] apply automated fixes
* fix: dont add registry set line
* [autofix.ci] apply automated fixes
* feat: few more tests
* feat: add bun types
* docs: explain registries
* feat: save globally
* [autofix.ci] apply automated fixes
* ci: jsr registry test
* ci: add ,
* ci: test
* ci: test
* ci: test
* ci: test
* [autofix.ci] apply automated fixes
* feat: use @iarna/toml
* [autofix.ci] apply automated fixes
* feat: registry parsing
* [autofix.ci] apply automated fixes
* ci: verbose add
* ci: registry install check
* ci: registry install check
* ci: registry install check
* ci: verify registry usage
* docs: registries
* docs: important block
* docs: show table
* docs: show table
* ci: shell
* ci: registry test on linux
* ci: registry test on linux
* build: text lockfile
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-09 12:22:12 +02:00
Robert Michalak
85cb7f6e7e
build: bump @actions/cache version ( #128 )
...
* bump @actions/cache version
* fix runtime error
2025-04-27 15:46:35 +02:00
autofix-ci[bot]
9bdeab4320
[autofix.ci] apply automated fixes
2024-12-09 17:46:42 +00:00
Jozef Steinhübl
a8913c42f4
fix: use hash instead of url for primary cache key ( #102 ) ( #103 )
...
* fix: use hash instead of url for primary cache key (#102 )
* Update cache-save.ts
* Update action.ts
* Update cache-save.ts
* build
* format
* [autofix.ci] apply automated fixes
---------
Co-authored-by: Daniil Zotov <142039751+zoto-ff@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-08 15:19:42 +02:00
Seiya Kokushi
1e54087d4f
fix: allow more spaces for .tool-versions ( #94 )
...
* update: allow more spaces for .tool-versions
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-30 22:30:50 +02:00
Jozef Steinhübl
ef00e4ac8e
release: v2.0 🎉 ( #80 )
...
* 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>
* refactor: reduce read from file code
* [autofix.ci] apply automated fixes
* feat: read from all known files if not specified
* [autofix.ci] apply automated fixes
* fix: just continue if file doesnt exist
* [autofix.ci] apply automated fixes
* fix: return output if found version
* [autofix.ci] apply automated fixes
* fix: make whitespace in .tool-versions optional
* [autofix.ci] apply automated fixes
* log loglog
* [autofix.ci] apply automated fixes
* log log log
* [autofix.ci] apply automated fixes
* better warnings, fix ci failing
* [autofix.ci] apply automated fixes
* feat: log obtained version
* [autofix.ci] apply automated fixes
* build: bump version
* [autofix.ci] apply automated fixes
* 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
* [autofix.ci] apply automated fixes
* docs: add comment for easier understanding
* ci: more readable version
* ci: match name
* docs: add package.json and .tool-versions to bun-version-file examples
* ci: add cache test
* ci: install another pkg for cache test
* ci: install more pkgs for cache test
* ci: block all trusted deps in cache test
* ci: more deps for cache test
* ci: cache test should cache
* refactor: dont try all files if not defined
* [autofix.ci] apply automated fixes
* ci: remove cache test
* feat: support .bunrc
* [autofix.ci] apply automated fixes
* refactor: .bun-version instead .bunrc
* [autofix.ci] apply automated fixes
* feat: add bun paths and url to output
Fixes https://github.com/oven-sh/setup-bun/issues/81
* [autofix.ci] apply automated fixes
* ci: test for .bun-version
* feat: make .bun-version as default in bun-version-file
* ci: remove cache before test
* ci: remove cache before test
* ci: remove cache before test
* ci: remove cache before test
---------
Co-authored-by: Ade Hery Shopyan <51158020+adeherysh@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-06-21 21:11:16 +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
a1800f471a
Fix missing diff
2023-09-11 13:55:59 -07: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
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
673843c5ea
fix: extract two times for custom urls
2022-07-28 09:19:57 +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
b3fb4f3421
chore: debug
2022-07-28 08:35:10 +02:00
xHyroM
f5a14b237f
chore: debug
2022-07-28 08:31:07 +02:00
xHyroM
e2c23afd2e
chore: debug
2022-07-28 08:27:22 +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
3b03c8d63a
chore: debug
2022-07-28 08:21:33 +02:00
xHyroM
962df21a50
chore: debug
2022-07-28 08:16:10 +02:00
xHyroM
f391a17228
chore: use api.github.com
2022-07-28 08:06:06 +02:00
xHyroM
24c8fd036a
fix: add token to install
2022-07-28 08:01:15 +02:00
xHyroM
89f6825456
fix: add token to install
2022-07-28 07:59:44 +02:00
xHyroM
079e10bfd6
fix(getGithubRelease): missing .zip
2022-07-28 07:54:35 +02:00
xHyroM
3532147424
fix: missing .js
2022-07-28 07:53:26 +02:00
xHyroM
e6a8865f72
feat: custom download url, custom repository
2022-07-28 07:50:56 +02:00
xHyroM
37397a08ec
feat: canary support
2022-07-25 22:31:43 +02:00
xHyroM
70b6cfe9d1
chore: build
2022-07-16 18:47:40 +02:00