Skip to content

Commit

Permalink
[IDLE-000] 워크플로우 tuist install 실행조건 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
J0onYEong authored Nov 18, 2024
1 parent 1ce3289 commit 18c1f1c
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions .github/workflows/merge_to_develop_on_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,27 +79,13 @@ jobs:
echo "::set-output name=is_same::false"
diff /Users/runner/spm_builds/Package.swift Package.swift > /dev/null && \
echo "::set-output name=is_same::true"
# debuging ---
- name: Debug Cache Build
run: |
echo "cache-spm-build.cache-hit: ${{ steps.cache-spm-build.outputs.cache-hit }}"
- name: Debug Cached Package.swift
run: |
echo "cache-package-swift.cache-hit: ${{ steps.cache-package-swift.outputs.cache-hit }}"


- name: Debug Diff Package.swift
run: |
echo "check-diff-package-swift.is_same: ${{ steps.check-diff-package-swift.outputs.is_same }}"
# debuging ---
#8. tuist install
- name: Tuist install
if: >
(steps.check-diff-package-swift.outputs.is_same == 'false') ||
(steps.cache-spm-build.outputs.cache-hit == 'false') ||
(steps.cache-package-swift.outputs.cache-hit == 'false')
(steps.check-diff-package-swift.outputs.is_same != 'true') ||
(steps.cache-spm-build.outputs.cache-hit != 'true') ||
(steps.cache-package-swift.outputs.cache-hit != 'true')
run: |
cd project
tuist install
Expand Down

0 comments on commit 18c1f1c

Please sign in to comment.