47 Commits

Author SHA1 Message Date
Okinea Dev
54cb141c5c
ci: remove unnecessary steps & cleanup (#118)
* refactor(ci): refactor GitHub Actions for better readablility

* upd

* remove ""
2025-02-04 18:31:38 +01:00
Florian Barbare
f09eb1edd0
fix: make bun resolve to given file path when an absolute path is given (#114)
* Make bun resolve to single file path when an absolute path is given

* Update test not to use the workspace folder
2024-12-09 18:46:15 +01:00
Jozef Steinhübl
8f1bc2eeb3
ci: add setup bun download url (#105)
* ci: add setup bun download url

* ci: change runs-on

* ci: aarch64, not arm64
2024-10-08 15:30:45 +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
Jozef Steinhübl
194c60efc3
build: bump ci actions (#66)
* ci: update checkout

* ci: update checkout
2024-03-07 11:39:32 +01:00
Jacob Hummer
40646b1808
Add GitHub action to auto-update the v1 tag (#53)
Create release.yml
2024-02-01 17:29:22 -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
Dan Adajian
6be87460e3
feat: support packageManager in package.json (#27) 2023-10-25 15:13:22 +02:00
Ashcon Partovi
41bc2e859b Do not fail-fast for action 2023-02-22 17:57:41 -08:00
Ashcon Partovi
3c2d6a32bd Use newer checkout 2023-02-22 17:56:01 -08:00
Ashcon Partovi
9c14b74b45 Next release of setup-bun 2023-02-22 17:47:24 -08:00
Colin McDonnell
ed9eb0969c chore: update artifact URL 2023-01-13 12:06:42 -08:00
Colin McDonnell
91e57dc649 chore: update artifact URL 2023-01-13 12:00:19 -08:00
xHyroM
3c39374369 chore: debug 2022-07-28 08:26:28 +02:00
xHyroM
c3404c3d6b chore(workflows/test): use ACCESS_TOKEN 2022-07-28 08:10:27 +02:00
xHyroM
f391a17228 chore: use api.github.com 2022-07-28 08:06:06 +02:00
xHyroM
e6a8865f72 feat: custom download url, custom repository 2022-07-28 07:50:56 +02:00
xHyroM
a9318b00d5 chore(test): update 2022-07-25 22:48:11 +02:00
xHyroM
bf40fde936 chore(test): update 2022-07-25 22:36:22 +02:00
xHyroM
92c5bc2cef chore(test): add canary 2022-07-25 22:32:15 +02:00
xHyroM
a0f9c413e5 chore(workflows): update test 2022-07-16 18:53:20 +02:00
xHyroM
d744239ce1 chore(workflows): update test 2022-07-16 18:52:25 +02:00
xHyroM
bfac95679f chore(workflows): update test 2022-07-16 18:50:53 +02:00
Hyro
3868f53a52
chore(CI): fix workflow 2022-07-13 07:50:55 +02:00
xHyroM
627e67fd7b chore(CI): update test 2022-07-13 07:04:23 +02:00
xHyroM
62d40e4bee chore(CI): update test 2022-07-12 22:08:16 +02:00
xHyroM
e838800258 chore(CI): change job status 2022-07-12 19:58:24 +02:00
xHyroM
37657f4f9f fix: dont fail 2022-07-12 19:56:32 +02:00
xHyroM
4e76ddea17 fix: warn if bad version 2022-07-12 18:53:38 +02:00
xHyroM
9f7c2a5c23 feat: add support for test builds 2022-07-12 18:39:58 +02:00
xHyroM
55fec52d7e chore: bump version 2022-07-12 09:59:54 +02:00
xHyroM
b66dd1b4a1 chore(CI): cleanup 2022-07-12 09:59:17 +02:00
xHyroM
f4ba16032c chore(CI): test mac 2022-07-12 09:57:54 +02:00
xHyroM
a440f657d6 chore(CI): test mac 2022-07-12 09:56:12 +02:00
xHyroM
9cb3b94a9d chore(CI): test mac 2022-07-12 09:54:37 +02:00
xHyroM
9fb3c0c9e9 feat: use homedir from os 2022-07-12 09:39:16 +02:00
xHyroM
5ae94929ee chore: fix workflow 2022-07-12 09:29:37 +02:00
xHyroM
bf0dbd9f81 chore: remove debugging, build 2022-07-12 09:29:03 +02:00
xHyroM
19350f2b4f chore(test): add workflow dispatch 2022-07-12 09:08:38 +02:00
xHyroM
f482eca5c4 chore: workflow 2022-07-11 12:24:04 +02:00
xHyroM
3a3e838dbb chore: workflow 2022-07-11 12:19:26 +02:00
xHyroM
e187173d21 chore: base 2022-07-11 09:45:23 +02:00