Skip to content

Commit fb275ca

Browse files
committed
chore: use better approach for excluding tools instead of a non-working one
Correction for de408fb commit. Relate to #1748
1 parent de408fb commit fb275ca

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/provision-by-terraform.yml

+6-8
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,15 @@ jobs:
4848
uses: jdx/[email protected] # https://github.com/jdx/mise-action
4949
with:
5050
version: 2025.3.2 # [default: latest] mise version to install
51-
install: false # [default: true] run `mise install`
51+
install: true # [default: true] run `mise install`
5252
cache: true # [default: true] cache mise using GitHub's cache
5353
log_level: info # [default: info] log level
5454
working_directory: infra/terraform # [default: .] directory to run mise in
55-
56-
# Workaround: don't install parent's dependencies as we don't use them
57-
# See: https://github.com/jdx/mise-action/issues/183
58-
- name: Install ansible-vault
59-
run: |
60-
mise config set settings.disable_tools --type list java,maven
61-
mise install
55+
env:
56+
# Workaround: don't install parent's dependencies as we don't use them
57+
# See: https://github.com/jdx/mise-action/issues/183
58+
# https://mise.jdx.dev/configuration/settings.html#disable_tools
59+
MISE_DISABLE_TOOLS=java,maven
6260

6361
- name: Install ansible-vault
6462
# NOTE: during version bump don't forget to update in other places: deploy.yml and provisioning-by-ansible.yml

0 commit comments

Comments
 (0)