Commit graph

59 commits

Author SHA1 Message Date
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
jdx
3601336acb
chore: updated deps 2024-12-13 06:03:07 -06:00
jdx
52c535ffc8
chore: updated deps 2024-11-27 18:10:51 -06:00
jdx
793f8df484
chore: added pre-commit task 2024-11-18 13:24:06 -06: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
239a5da37c
chore: update deps 2024-11-04 10:28:30 -06: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
renovate[bot]
bd6a003a27
chore(deps): lock file maintenance (#102)
* chore(deps): lock file maintenance

* rebuild

* rebuild

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jeff Dickey <216188+jdx@users.noreply.github.com>
2024-07-29 18:40:29 +00:00
Jeff Dickey
da1c427f6e
chore: husky deprecation 2024-07-29 12:34:33 -05:00
Jeff Dickey
227736a40e
chore: automatically rebuild with renovate 2024-07-29 12:25:18 -05:00
Jeff Dickey
d0dc8c81e3
chore: rebuild 2024-06-01 17:32:37 -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
0f558f87e1
chore(eslint): updated eslint@8 2024-04-12 20:30:20 -05:00
jdx
d6a9bdcb65
chore: npm update (#61) 2024-03-29 20:38:44 -05:00
Jeff Dickey
e1f00a0bf8
npm update 2024-02-08 16:04:21 -06:00
Jeff Dickey
5173b58ce8
recompile 2024-02-08 16:01:23 -06:00
Jeff Dickey
5424b1f50b
added more config filenames to cache key 2024-01-12 18:40:58 -06:00
Jeff Dickey
a0783efaf9
npm up 2024-01-12 13:24:17 -06:00
Jeff Dickey
5f39af9fe6
npm update 2024-01-04 11:28:23 -06:00
Jeff Dickey
691e684984
fixed cache-save 2024-01-02 17:23:36 -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
Jeff Dickey
08424c22d8
updated deps 2023-08-09 18:20:58 -05: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
ed9c9d25e0
use more modern node/ts (#46) 2023-03-25 15:19:50 -05: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