Skip to content

Commit 8381eb4

Browse files
committed
refactor: 임시 디렉터리 정리 견고화
1 parent 1a77416 commit 8381eb4

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/actions/install-private-config/action.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ runs:
2626
set -euo pipefail
2727
2828
privateConfigCheckoutPath="$RUNNER_TEMP/private-config"
29+
trap 'rm -rf "$privateConfigCheckoutPath"' EXIT
2930
configSourcePath="$privateConfigCheckoutPath/resources/DevLog/Config.xcconfig"
3031
googleServiceInfoSourcePath="$privateConfigCheckoutPath/resources/DevLog/GoogleService-Info.plist"
3132
configDestinationPath="$GITHUB_WORKSPACE/DevLog/Resource/Config.xcconfig"
@@ -59,7 +60,3 @@ runs:
5960
6061
install -m 600 "$configSourcePath" "$configDestinationPath"
6162
install -m 600 "$googleServiceInfoSourcePath" "$googleServiceInfoDestinationPath"
62-
63-
- name: Clean private config checkout
64-
shell: bash
65-
run: rm -rf "$RUNNER_TEMP/private-config"

0 commit comments

Comments
 (0)