This repository has been archived by the owner on Dec 7, 2024. It is now read-only.
🔀 :: 출석체크 페이지 퍼블리싱 #137
Workflow file for this run
This file contains 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: Caching with Tuist Dependencies | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
env: | |
CACHED_DEPENDENCY_PATHS: ${{ github.workspace }}/Tuist/Dependencies | |
jobs: | |
caching-dependencies: | |
name: 🧩 Caching Dependencies | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Compute dependency cache key | |
id: compute_hash | |
run: echo "hash=${{ hashFiles('Tuist/Dependencies.swift') }}" >> $GITHUB_OUTPUT | |
- name: Check dependency key | |
uses: actions/cache@v3 | |
id: cache_dependencies | |
with: | |
path: ${{ env.CACHED_DEPENDENCY_PATHS }} | |
key: ${{ steps.compute_hash.outputs.hash }} | |
- name: Install tuist | |
if: steps.cache_dependencies.outputs.cache-hit != 'true' | |
run: curl -Ls https://install.tuist.io | bash | |
- name: Install dependencies | |
if: steps.cache_dependencies.outputs.cache-hit != 'true' | |
run: tuist fetch | |
outputs: | |
dependency_cache_key: ${{ steps.compute_hash.outputs.hash }} | |