Commit Graph
100 Commits
Author SHA1 Message Date
Jozef SteinhüblGitHubCopilotxhyromcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>Copilot
b02f8a8a6e feat: fallback arm64 to x64 architecture for win32 platform (#131)
* feat: fallback arm64 to x64 architecture for win32 platform

closes https://github.com/oven-sh/setup-bun/issues/130

* [autofix.ci] apply automated fixes

* ci: test on windows-11-arm runner

* refactor: move logic to getEffectiveArch func

* [autofix.ci] apply automated fixes

* feat: add warning message for windows arm64 fallback to x64

* [autofix.ci] apply automated fixes

* feat: don't mention arch in warning msg aboout fallback

* [autofix.ci] apply automated fixes

* debug time

* [autofix.ci] apply automated fixes

* feat: force baseline for win32 arm fallback to x64

* [autofix.ci] apply automated fixes

* ci: dont use windows-11-arm on setup bun from download url

* fix

* [autofix.ci] apply automated fixes

* fix

* [autofix.ci] apply automated fixes

* fix

* [autofix.ci] apply automated fixes

* fix

* [autofix.ci] apply automated fixes

* fix

* [autofix.ci] apply automated fixes

* apply changes

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* [autofix.ci] apply automated fixes

* docs: clarify

* [autofix.ci] apply automated fixes

* test: add unit tests for getAvx2 Windows ARM64 fallback logic (#154)

* Initial plan

* Add unit tests for getAvx2 function

Co-authored-by: xhyrom <56601352+xhyrom@users.noreply.github.com>

* Consolidate duplicate test assertions in getAvx2 tests

Co-authored-by: xhyrom <56601352+xhyrom@users.noreply.github.com>

* Fix whitespace formatting in test file

Co-authored-by: xhyrom <56601352+xhyrom@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: xhyrom <56601352+xhyrom@users.noreply.github.com>

* test: add unit tests for getArchitecture and getAvx2 Windows ARM64 fallback logic (#153)

* Initial plan

* Add unit tests for getArchitecture function

Co-authored-by: xhyrom <56601352+xhyrom@users.noreply.github.com>

* Remove unused import in utils.spec.ts

Co-authored-by: xhyrom <56601352+xhyrom@users.noreply.github.com>

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Merge pr-131 and resolve test file conflicts

Co-authored-by: xhyrom <56601352+xhyrom@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: xhyrom <56601352+xhyrom@users.noreply.github.com>
Co-authored-by: Jozef Steinhübl <generalkubo@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
2026-01-05 01:16:53 +01:00
Jozef SteinhüblGitHubautofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
8c296f9cb7 feat: implement wildcard resolution into the action (#93)
* feat: remove retry attempts

* [autofix.ci] apply automated fixes

* feat: get download url from github's api

* [autofix.ci] apply automated fixes

* fix: add token property to action definition & fix satisfies params

* [autofix.ci] apply automated fixes

* fix: getPlatform, getArchitecture + eversion

* [autofix.ci] apply automated fixes

* fix: duplicate v

* [autofix.ci] apply automated fixes

* fix: check if valid semver and add bun-v

* [autofix.ci] apply automated fixes

* refactor: wrap validation

* [autofix.ci] apply automated fixes

* ci(format): use bun

bun install is rqeuired for patches

* ci(format): use bun

bun install is rqeuired for patches

* [autofix.ci] apply automated fixes

* feat: bring back support for sha downloads

* [autofix.ci] apply automated fixes

* fix: add bearer prefix for token

* [autofix.ci] apply automated fixes

* fix: proper error when artifact is not found

* [autofix.ci] apply automated fixes

* conflicts

* autofix build

* fix

* fix

* fix

* fix

* fix

* autofix build

* fix

* [autofix.ci] apply automated fixes

* fix

* [autofix.ci] apply automated fixes

* fix

* [autofix.ci] apply automated fixes

* fix

* fix

* [autofix.ci] apply automated fixes

* fix

* fix

* [autofix.ci] apply automated fixes

* fix: drop sha support for now

* [autofix.ci] apply automated fixes

* fix: filter tags

* [autofix.ci] apply automated fixes

* docs: token

* docs: token

* docs: token

* refactor: cleanup

* [autofix.ci] apply automated fixes

* refactor: cleanup

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-05 00:03:34 +01:00
Jozef SteinhüblandGitHub b7a1c7ccf2 release: v2.1.0 (#151)
* release: v2.1.0

* release: v2.1.0
2026-01-04 00:53:29 +01:00
Jozef SteinhüblandGitHub 68643ea879 ci: disable tests with version selectors (#133) 2025-07-10 21:02:01 +02:00
Jozef SteinhüblGitHubautofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
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üblGitHubautofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
34f777aec1 feat: support for multiple registries (#109)
* 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
Jozef SteinhüblandGitHub 27ecfffdee ci: update autofix ci 2025-04-27 15:53:25 +02:00
Jozef SteinhüblandGitHub 56408e9a3f release: v2.0.2 2025-04-27 15:47:24 +02:00
Jozef SteinhüblandGitHub 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
Jozef SteinhüblGitHubDaniil Zotovautofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
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
Jozef SteinhüblGitHubautofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
4bc047ad25 release: v2.0.1 (#91)
* build: bump version

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-15 21:09:36 +02:00
Jozef SteinhüblandGitHub 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üblandGitHub 123c6c4e2f docs: use v2 version 2024-06-23 21:56:22 +02:00
Jozef SteinhüblGitHubautofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>Ade Hery Shopyanautofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
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üblGitHubautofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
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üblGitHubautofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
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üblGitHubautofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
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üblandGitHub 194c60efc3 build: bump ci actions (#66)
* ci: update checkout

* ci: update checkout
2024-03-07 11:39:32 +01:00
Jozef SteinhüblGitHubautofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
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
Jozef SteinhüblandGitHub e900e6b108 release: 1.1 (#41)
* bump

* bump

* bump
2023-11-26 21:41:40 +01:00
HyroandGitHub 37c5fa5bfd docs: change actions owner 2023-01-12 09:00:20 +01:00
xHyroM 29cb413d63 feat: update dependencies, node 2022-10-29 10:03:51 +02:00
xHyroM 0ec953ee6d chore(README): bump version 2022-07-28 09:26:39 +02: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 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 e2c23afd2e chore: debug 2022-07-28 08:27:22 +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 3b03c8d63a chore: debug 2022-07-28 08:21:33 +02:00
xHyroM bc3424761e chore: debug 2022-07-28 08:21:25 +02:00
xHyroM 962df21a50 chore: debug 2022-07-28 08:16:10 +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 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
HyroandGitHub 27a94d6f80 chore(action): fix 2022-07-27 08:20:47 +02:00
HyroandGitHub b0a04f5fb3 chore: bump version 2022-07-27 08:18:45 +02:00
HyroandGitHub ddba6331f8 chore: bump version 2022-07-27 08:18:27 +02:00
HyroandGitHub 99221c1ae0 fix(action): add github.token as default 2022-07-27 08:18:12 +02:00
HyroandGitHub 13923243f4 chore(README): add github token 2022-07-26 07:29:31 +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 37397a08ec feat: canary support 2022-07-25 22:31:43 +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
xHyroM 640630d09e chore: bump version 2022-07-16 18:48:17 +02:00
xHyroM 70b6cfe9d1 chore: build 2022-07-16 18:47:40 +02:00
HyroandGitHub 933334b350 fix(getGithubRelease): correct token pass 2022-07-16 18:46:00 +02:00
HyroandGitHub c52f1f18be chore: new example 2022-07-13 09:42:54 +02:00
HyroandGitHub 08cc23c06e chore: bump version 2022-07-13 09:42:16 +02:00
HyroandGitHub baf23f03bc chore: bump version 2022-07-13 09:42:02 +02:00
HyroandGitHub 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 633e7abe1e fix: dont error when invalid asset for miscTestBuilds 2022-07-12 19:53:24 +02:00
xHyroM 4e76ddea17 fix: warn if bad version 2022-07-12 18:53:38 +02:00
xHyroM 5a78c10e01 fix: verion.trim is not function 2022-07-12 18:46:22 +02:00
xHyroM 6dae544af4 fix: correct repo for misc test builds 2022-07-12 18:43:56 +02:00
xHyroM 054bb2f631 chore: build 2022-07-12 18:42:27 +02:00
xHyroM 9f7c2a5c23 feat: add support for test builds 2022-07-12 18:39:58 +02:00
xHyroM 81ecfb54f4 chore: update package.json, license 2022-07-12 11:03:29 +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 20a5153038 chore: debug 2022-07-12 09:34:11 +02:00
xHyroM e24995197a chore: debug 2022-07-12 09:31:35 +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 9bbc376c40 chore: build 2022-07-12 09:25:05 +02:00
xHyroM 09d3724d34 chore: build 2022-07-12 09:23:33 +02:00
xHyroM c35af372da fix: install 2022-07-12 09:16:35 +02:00
xHyroM 36bc669fea fix: use asset.name 2022-07-12 09:13:40 +02:00
xHyroM 32f942a87d chore: build 2022-07-12 09:11:55 +02:00
xHyroM 2af2463ea8 chore: debug 2022-07-12 09:11:41 +02:00
xHyroM c8d57cdc66 chore: build 2022-07-12 09:10:45 +02:00
xHyroM 8251de54ce fix: add path 2022-07-12 09:09:40 +02:00
xHyroM 19350f2b4f chore(test): add workflow dispatch 2022-07-12 09:08:38 +02:00
xHyroM 16e8c96a41 feat: add @actions/cache 2022-07-12 09:00:22 +02:00
xHyroM b15fb7d098 chore: build 2022-07-12 08:40:58 +02:00