feat: export env vars from mise.toml (#241)

Solve https://github.com/jdx/mise-action/issues/36

BREAKING CHANGE: we're defaulting this behavior to `true`

---------

Co-authored-by: jdx <216188+jdx@users.noreply.github.com>
This commit is contained in:
Mael 2025-08-18 18:33:13 +02:00 committed by GitHub
parent e7e48454f4
commit f0b1d70eae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 22 additions and 2 deletions

View file

@ -1,4 +1,4 @@
name: 'build-test'
name: "build-test"
on: # rebuild any PRs and main branch changes
pull_request:
branches:
@ -50,6 +50,9 @@ jobs:
mise_toml: |
[tools]
jq = "1.7.1"
[env]
MY_ENV_VAR = "abc"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: mise --version