20 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
Araxeus
f43b443c1c
fix: bun-version-file default value (#90)
fix #89
2024-07-15 14:17:41 +02:00
Jozef Steinhübl
3fcae870de
docs: show correct bun-version-file examples (#86)
* docs: .bun-version

* docs: correct bun-version-file examples
2024-06-24 15:15:35 +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
Jarred Sumner
f4d14e03ff
Add bun-download-url to actions.yml and rebuild (#83)
* Add download URL

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-06-02 03:52:40 -07: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
CyberFlame
bd26ebd2c7
build: bump nodejs to v20 (#24)
update to use nodejs as per planned deprecation of node16

https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
2023-09-26 17:36:38 +02:00
Ashcon Partovi
13974bf408 Document usage of action downloads 2023-03-01 16:01:35 -08:00
Ashcon Partovi
157143337b Make cacheHit conform to best practices for actions 2023-03-01 15:58:31 -08:00
Ashcon Partovi
9c14b74b45 Next release of setup-bun 2023-02-22 17:47:24 -08:00
xHyroM
29cb413d63 feat: update dependencies, node 2022-10-29 10:03:51 +02:00
xHyroM
e6a8865f72 feat: custom download url, custom repository 2022-07-28 07:50:56 +02:00
Hyro
27a94d6f80
chore(action): fix 2022-07-27 08:20:47 +02:00
Hyro
99221c1ae0
fix(action): add github.token as default 2022-07-27 08:18:12 +02:00
xHyroM
9f7c2a5c23 feat: add support for test builds 2022-07-12 18:39:58 +02:00
xHyroM
e187173d21 chore: base 2022-07-11 09:45:23 +02:00