Skip to content

Commit

Permalink
Update uploadTestflight.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Roy-wonji authored Aug 31, 2024
1 parent 4f5241a commit 5e1e0a6
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/uploadTestflight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,26 @@ jobs:
# Verify Tuist installation and add Tuist to PATH
- name: Verify Tuist Installation
run: |
# Debugging: Check where Tuist is installed
ls -al $HOME/.tuist/bin
echo 'Current PATH:'
echo $PATH
# Debugging: Check common installation paths for Tuist
echo "Checking common Tuist installation directories..."
ls -al $HOME/.local/share/mise/shims
ls -al /usr/local/bin
ls -al $HOME/.local/bin
# Attempt to find the Tuist executable
echo "Searching for Tuist..."
find $HOME -name tuist 2>/dev/null
find /usr/local -name tuist 2>/dev/null
# Update the PATH for this session and add it to the environment for future steps
export PATH="$HOME/.tuist/bin:$PATH"
echo 'export PATH="$HOME/.tuist/bin:$PATH"' >> $GITHUB_ENV
export PATH="$HOME/.local/share/mise/shims:$PATH"
echo 'export PATH="$HOME/.local/share/mise/shims:$PATH"' >> $GITHUB_ENV
# Check if Tuist is available and verify the version
which tuist
tuist --version
# Install Fastlane using Homebrew
- name: Install Fastlane
run: brew install fastlane
Expand Down

0 comments on commit 5e1e0a6

Please sign in to comment.