From e800ae6031aafb5312606d4b959f35854eb6ff19 Mon Sep 17 00:00:00 2001 From: Ladislas de Toldi Date: Wed, 7 Feb 2024 12:15:48 +0100 Subject: [PATCH] :construction_worker: (ci): Add mise uninstall/install tools step --- .../ci-system-upgrade_tools_and_clean.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-system-upgrade_tools_and_clean.yml b/.github/workflows/ci-system-upgrade_tools_and_clean.yml index 3984fbe662..d9e5d2dad7 100644 --- a/.github/workflows/ci-system-upgrade_tools_and_clean.yml +++ b/.github/workflows/ci-system-upgrade_tools_and_clean.yml @@ -34,11 +34,15 @@ jobs: with: fetch-depth: 1 # shallow clone - - name: Install mise tools - uses: jdx/mise-action@v2 + - name: Setup mise + run: | + echo "$HOME/.local/share/mise/shims" >> $GITHUB_PATH - name: Tools' versions before run: | + which mise + mise --version + which xcodebuild xcodebuild -version @@ -63,6 +67,11 @@ jobs: brew upgrade brew cleanup -s --prune=all + - name: Install mise tools + run: | + mise uninstall --all + mise install + - name: Upgrade bundle run: | bundle update --bundler @@ -77,6 +86,9 @@ jobs: - name: Tools' versions after run: | + which mise + mise --version + which xcodebuild xcodebuild -version