18 Commits

Author SHA1 Message Date
autofix-ci[bot]
f3a3a4d006
[autofix.ci] apply automated fixes 2024-07-29 20:17:23 +00:00
autofix-ci[bot]
65bc9b03e7
[autofix.ci] apply automated fixes 2024-07-29 20:11:07 +00:00
autofix-ci[bot]
d51557d049
[autofix.ci] apply automated fixes 2024-07-29 20:07:21 +00:00
autofix-ci[bot]
f96af5bf24
[autofix.ci] apply automated fixes 2024-07-29 19:19:44 +00:00
autofix-ci[bot]
bba0526227
[autofix.ci] apply automated fixes 2024-07-29 19:09:19 +00:00
autofix-ci[bot]
d9c4697ce6
[autofix.ci] apply automated fixes 2024-07-29 19:08:19 +00:00
autofix-ci[bot]
019399b06a
[autofix.ci] apply automated fixes 2024-07-29 19:01:29 +00:00
autofix-ci[bot]
4d53c4d41f
[autofix.ci] apply automated fixes 2024-07-29 18:59:32 +00:00
autofix-ci[bot]
c3e2edf950
[autofix.ci] apply automated fixes 2024-07-29 18:44:19 +00:00
autofix-ci[bot]
1cf9dead52
[autofix.ci] apply automated fixes 2024-07-29 18:31:34 +00:00
Jozef Steinhübl
3ed283caaf
feat: get download url from github's api 2024-07-29 20:30:19 +02:00
autofix-ci[bot]
99d7a7aeb9
[autofix.ci] apply automated fixes 2024-07-28 06:52:06 +00: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