Commit graph

45 commits

Author SHA1 Message Date
85ceb0717e
chore: pretty
Some checks failed
Check dist/ / Check dist/ (push) Successful in 27s
Continuous Integration / TypeScript Tests (push) Successful in 20s
build-test / build (push) Successful in 24s
build-test / test (ubuntu-latest) (push) Successful in 20s
build-test / specific_version (push) Successful in 8s
CodeQL / Analyze (push) Failing after 3m10s
build-test / test (macos-latest) (push) Has been cancelled
build-test / test (windows-latest) (push) Has been cancelled
2025-01-25 21:56:55 -08:00
0b1d5d721e
feat: add github_token
Some checks failed
build-test / build (push) Successful in 23s
build-test / specific_version (push) Successful in 12s
build-test / test (macos-latest) (push) Waiting to run
build-test / test (windows-latest) (push) Waiting to run
Continuous Integration / TypeScript Tests (push) Failing after 50s
Check dist/ / Check dist/ (push) Successful in 1m23s
build-test / test (ubuntu-latest) (push) Successful in 14s
CodeQL / Analyze (push) Has been cancelled
2025-01-25 21:54:07 -08:00
Ville Skyttä
5e190f2e46
feat: run mise ls (#163) 2025-01-05 18:43:06 +00:00
jdx
b82835fe1f
fix: use tar.gz if zstd is not available (#159)
Fixes #155
2024-12-30 16:44:25 +00:00
jdx
2408f570e1
chore: use github releases (#154) 2024-12-23 13:59:01 -06:00
jdx
370e73c4f0
feat: fetch tarball with zst compression (#153) 2024-12-23 19:31:53 +00:00
Risu
2d33c855a3
fix: fix cache_save option (#144) 2024-11-18 13:20:21 -06:00
Frederik Boster
7b77be967a
fix: use correct glob format for cache key file hash (#139) 2024-11-06 14:43:47 +00:00
jdx
57eda1a45f
fix: use lockfile for cache key 2024-11-04 10:26:21 -06:00
Maximilian Remming
fb230aa558
fix: overwrite MISE_LOG_LEVEL when in debug mode (#138)
As the log_level parameter defaults to info the MISE_LOG_LEVEL
environment variable needs to be overriden or otherwise it is not set.
This also means that mise-action will always run with debug logging when
it is ran with debugging enabled, no matter what log level the user has
set.
2024-10-29 07:08:34 -05:00
Jeff Dickey
86b003e69f
chore: fetch mise compressed 2024-10-27 20:20:20 -05:00
Jeff Dickey
c20c9ebb8b
chore: fetch mise compressed 2024-10-27 20:18:38 -05:00
Risu
f2a7466821
fix: add install_args hash to cache key (#136)
* fix: add install_args hash to cache key

* fix: sort tools before hashing
2024-10-26 06:25:44 -05:00
Maximilian Remming
cc7f0e6690
feat: use debug logging when in debug mode (#128) (#129)
* feat: use debug logging when in debug mode (#128)

* chore: remove unnecessary getExperimental function

* chore: fix setupMise typing

As `core.getInput` returns always a string, the type of `version` in
`setupMise` should be just a `string`. When the string is empty it means
to use the latest version. This could be made cleaner but this is how it
works.

* feat: only set MISE_LOG_LEVEL when required

Previously MISE_LOG_LEVEL was always set, even when log_level parameter
wasn't configured. This changes that behaviour so that the environment
variable is only set when log_level is set by the user and that the
MISE_LOG_LEVEL is set to debug only for this action when in debug mode.

---------

Co-authored-by: Jeff Dickey <216188+jdx@users.noreply.github.com>
2024-10-25 16:48:49 +00:00
jdx
477762426f
fix: cache_save boolean bug (#135)
Fixes #130
2024-10-25 14:03:09 +00:00
jdx
1b7ab9b9c1
fix: cache mise bin (#134)
Fixes #133
2024-10-24 01:27:00 +00:00
jdx
5d3e058edf
feat: support windows (#122) 2024-09-25 21:27:52 +00:00
Risu
3a6b71561b
feat: added config filenames to hashFiles (#86) 2024-06-01 17:27:09 -05:00
jdx
5f5bc9d57c
feat: allow passing args to install (#87) 2024-06-01 11:10:28 -05:00
Jeff Dickey
4541e25ef8
fix: rename "install_dir" config to "working_directory"
This fits in better with other actions
2024-06-01 10:37:21 -05:00
Jeff Dickey
b42d5a2f42
feat: added log level config 2024-05-12 10:19:03 -05:00
Jeff Dickey
5424b1f50b
added more config filenames to cache key 2024-01-12 18:40:58 -06:00
Jeff Dickey
a05bde45a6
rename rtx -> mise 2024-01-02 17:15:35 -06:00
Jeff Dickey
2c307d8ed6
rtx -> mise 2024-01-02 16:16:49 -06:00
Pedro Piñera Buendía
10161a135f
Add API to enable the experimental features (#220)
* Add option to enable experimental features

* Add .rtx.toml to install the tools necessary to work on this repository
2023-12-24 19:15:25 +00:00
jdx
55e5d18e74
added rtx_dir config (#215)
* added rtx_dir config

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip
2023-12-14 08:38:00 -06:00
jdx
5ac46849ac
added rtx_toml support (#214)
* added rtx_toml support

Fixes #47

* refactor

* refactor

* bump

* bump

* bump
2023-12-14 07:56:58 -06:00
jdx
a545a9b90a
pinning (#213)
* pinning

Fixes #205

* gh

* gh

* gh

* gh

* docs
2023-12-14 12:39:54 +00:00
Robbie Plankenhorn
0e7059cb40
Added ability to disable automatic action caching. (#212) 2023-12-12 15:04:07 -06:00
Jeff Dickey
f0a88fe39d
use new asset host 2023-12-11 16:37:16 -06:00
FalkWoldmann
78e75c3fe1
Use 1 instead of yes because it can be parsed (#204) 2023-12-07 14:40:42 +00:00
jdx
d661017ade
updated action template base from actions/typescript-action (#170) 2023-10-16 19:18:57 -05:00
Yuya Kusakabe
50bd58fbe0
Add install option to skip rtx install (#146) 2023-09-15 00:49:51 +00:00
Yousif Akbar
10114e7e8a
Adding Setting of Necessary Environment Variables Before Running rtx (#123)
* Fixing typo in outputs of action.yml

* Adding `setEnvVars` step for env vars that should always be set in the action
2023-08-18 15:29:16 +00:00
Nick Hehr
801b2f548d
feat: add support for saving / restoring rtx cache (#64)
* feat: add support for saving / restoring rtx cache

* fix: add support for .rtx.toml to file hash
2023-04-11 00:36:00 +00:00
Jeff Dickey
6e7a18f59b
bug: ensure rtx install is always run
I added this conditional forgetting .tool-versions might
exist but not be defined in yml
2023-03-28 18:23:06 -05:00
Jeff Dickey
feb5cb02b0
fetch runtime from rtx.pub (#48)
removes the need to set GITHUB_TOKEN
2023-03-25 20:27:41 +00:00
Jeff Dickey
d3b6ed3fdf
bug: only install tools if tool-versions is set (#45)
* bug: only install tools if tool-versions is set

Avoids a warning

* bug: only install tools if tool-versions is set

Avoids a warning
2023-03-25 15:16:29 -05:00
Mark Elliot
c8026e294c
Clobber rtx binary if it already exists (#36)
* Clobber rtx if it exists

* run `bun run all` to recompile unrelated things

---------

Co-authored-by: Jeff Dickey <216188+jdxcode@users.noreply.github.com>
2023-03-06 09:35:21 -06:00
Kenichi Kamiya
0410c15177 Require to specify GITHUB_TOKEN for considering API limit 2023-02-23 04:44:03 +09:00
Jeff Dickey
fc40a5c3a2 download rtx 2023-02-20 23:27:49 -06:00
Jeff Dickey
717b2e3f59 rtx --version 2023-01-14 23:46:01 -06:00
Jeff Dickey
168c20f963 dist 2023-01-14 08:44:01 -06:00
Jeff Dickey
67b1e31166 init 2023-01-14 08:36:43 -06:00
Jeff Dickey
35f6329d75
Initial commit 2023-01-14 08:11:40 -06:00