From 89428a377ec3781a381ab74db3894800b51396de Mon Sep 17 00:00:00 2001 From: Roy Date: Sun, 1 Sep 2024 01:49:03 +0900 Subject: [PATCH] Update uploadTestflight.yml --- .github/workflows/uploadTestflight.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/uploadTestflight.yml b/.github/workflows/uploadTestflight.yml index d7bcf2d..b7503b4 100644 --- a/.github/workflows/uploadTestflight.yml +++ b/.github/workflows/uploadTestflight.yml @@ -25,6 +25,8 @@ jobs: - name: Install and Activate Mise run: | curl https://mise.run | sh + # Ensure Mise executable has correct permissions + chmod +x ~/.local/bin/mise # Add Mise shims directory to PATH echo 'export PATH="$HOME/.local/share/mise/shims:$PATH"' >> $GITHUB_ENV export PATH="$HOME/.local/share/mise/shims:$PATH" # Immediately update the PATH @@ -35,7 +37,7 @@ jobs: # Install a specific version of Tuist using Mise - name: Install Specific Tuist Version - run: mise install tuist@4.50.0 + run: mise install tuist@4.25.0 # Use the installed Tuist version globally - name: Use Specific Tuist Version Globally @@ -63,7 +65,6 @@ jobs: which tuist tuist version - # Install Fastlane using Homebrew - name: Install Fastlane run: brew install fastlane @@ -77,7 +78,7 @@ jobs: # Execute Tuist commands: clean, install dependencies, and generate the project - name: Execute Tuist tasks run: | - export PATH="$HOME/.tuist/bin:$PATH" # Ensure PATH is updated in each step + export PATH="$HOME/.local/share/mise/shims:$PATH" # Ensure PATH is updated in each step tuist clean tuist install tuist generate @@ -86,7 +87,7 @@ jobs: # Run Fastlane with the specified environment variables for deployment - name: Run Fastlane QA run: | - export PATH="$HOME/.tuist/bin:$PATH" # Ensure PATH is updated in each step + export PATH="$HOME/.local/share/mise/shims:$PATH" # Ensure PATH is updated in each step bundle exec fastlane QA working-directory: ./OPeace env: