Github Action을 사용하면
젠킨스와 같은 다른 툴을 사용하지 않고 CI(Continuous Integration)가 가능하다.
그런데 일반적으로
DB 정보와 같은 값들을 가진 resource 파일은
ignore 처리를 하여 Repository에 노출하지 않는다.
그러므로 만약 빌드 시 resource 정보를 참조해야 하는 경우엔 빌드를 실패하게 된다.
그래서 이 글에서는
빌드를 성공하기 위해 Github Action에서 동적으로 변수에 값을 주입하는 방법에 대해 알아본다.
Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum.
A subarray is a contiguous part of an array