Skip to content

Commit

Permalink
👷 (ci): Add mise uninstall/install tools step
Browse files Browse the repository at this point in the history
  • Loading branch information
ladislas committed Feb 7, 2024
1 parent 61e45d6 commit e800ae6
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/ci-system-upgrade_tools_and_clean.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -77,6 +86,9 @@ jobs:
- name: Tools' versions after
run: |
which mise
mise --version
which xcodebuild
xcodebuild -version
Expand Down

0 comments on commit e800ae6

Please sign in to comment.