Skip to content

Commit 9c96d4b

Browse files
committed
[UPDATE] Computer Science 카테고리 통합
- ComputerScience (26) + Algorithm (24) → Computer Science (50) - 8개 카테고리 → 7개 카테고리로 정리 - workflow도 자동으로 통합되도록 수정
1 parent 49203be commit 9c96d4b

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/update-profile.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,16 @@ jobs:
6262
DEV="${{ steps.count.outputs.dev }}"
6363
SWIFT="${{ steps.count.outputs.swift }}"
6464
65-
# 카테고리 수 계산 (0이 아닌 카테고리만)
65+
# ComputerScience + Algorithm 통합
66+
CS_TOTAL=$((CS + ALGO))
67+
68+
# 카테고리 수 계산 (0이 아닌 카테고리만, CS+ALGO는 하나로 계산)
6669
categories=0
6770
[ "$IOS" -gt 0 ] && ((categories++))
6871
[ "$ANDROID" -gt 0 ] && ((categories++))
6972
[ "$FLUTTER" -gt 0 ] && ((categories++))
7073
[ "$RN" -gt 0 ] && ((categories++))
71-
[ "$CS" -gt 0 ] && ((categories++))
72-
[ "$ALGO" -gt 0 ] && ((categories++))
74+
[ "$CS_TOTAL" -gt 0 ] && ((categories++))
7375
[ "$DEV" -gt 0 ] && ((categories++))
7476
[ "$SWIFT" -gt 0 ] && ((categories++))
7577
@@ -78,11 +80,10 @@ jobs:
7880
_${TOTAL} TILs across ${categories} categories_
7981
- iOS: ${IOS} articles
8082
- Flutter: ${FLUTTER} articles
81-
- ComputerScience: ${CS} articles
82-
- Algorithm: ${ALGO} articles
83-
- Development: ${DEV} articles
8483
- Swift: ${SWIFT} articles
84+
- Computer Science: ${CS_TOTAL} articles
8585
- React Native: ${RN} articles
86+
- Development: ${DEV} articles
8687
- Android: ${ANDROID} articles
8788
EOF
8889

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,11 @@
88
2단계. 블로그에 정리해서 게시 ✨
99

1010

11-
_583 TILs across 8 categories_
11+
_583 TILs across 7 categories_
1212
- iOS: 268 articles
1313
- Flutter: 52 articles
14-
- ComputerScience: 26 articles
15-
- Algorithm: 24 articles
1614
- Swift: 51 articles
15+
- Computer Science: 50 articles
1716
- React Native: 12 articles
1817
- Development: 7 articles
1918
- Android: 4 articles

0 commit comments

Comments
 (0)