Skip to content

Commit de408fb

Browse files
committed
chore: don't install java and maven for terraform execution
Workaround for jdx/mise-action#183 Relate to #1748
1 parent 0914b33 commit de408fb

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,18 @@ 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: true # [default: true] run `mise install`
51+
install: false # [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
5555

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
62+
5663
- name: Install ansible-vault
5764
# NOTE: during version bump don't forget to update in other places: deploy.yml and provisioning-by-ansible.yml
5865
run: pip3 install ansible==3.4.0

0 commit comments

Comments
 (0)