Cache update in workflow #95
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: iOS | |
| on: | |
| push: | |
| branches: [ develop ] | |
| pull_request: | |
| branches: [ develop ] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| name: Build iOS App | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Mise (Ruby + Tuist + SwiftLint) | |
| uses: jdx/mise-action@v3 | |
| - name: Cache gems | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.local/share/mise/installs/ruby/3.4.7/lib/ruby/gems/3.4.0 | |
| key: ${{ runner.os }}-mise-gems-${{ hashFiles('Gemfile.lock') }} | |
| - name: Install Fastlane | |
| run: | | |
| bundle install | |
| - name: Set Xcode 26.0.1 | |
| run: | | |
| sudo xcode-select -s /Applications/Xcode_26.0.1.app | |
| - name: Cache Tuist .build | |
| uses: actions/cache@v4 | |
| with: | |
| path: Tuist/.build | |
| key: tuist-cache-${{ hashFiles('Tuist/Package.resolved') }} | |
| restore-keys: | | |
| tuist-cache- | |
| - name: Run Fastlane Install | |
| run: | | |
| tuist install | |
| bundle exec fastlane notify_all | |
| env: | |
| FASTLANE_USER: ${{ secrets.FASTLANE_USER }} | |
| FASTLANE_TEAM_ID: ${{ secrets.FASTLANE_TEAM_ID }} | |
| MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | |
| MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }} | |
| TUIST_CONFIG_TOKEN: ${{ secrets.TUIST_CONFIG_TOKEN }} | |
| TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }} | |
| TG_CHAT_ID: ${{ secrets.TG_CHAT_ID }} |