From b1fd6cc600871c31cefc14137b6a69333efa6282 Mon Sep 17 00:00:00 2001 From: jieunee2 <980lje@naver.com> Date: Mon, 10 Jan 2022 23:39:59 +0900 Subject: [PATCH] [#21] GitHub Action test --- .github/workflows/gradle.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index fa0d96a..b6560e1 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -28,4 +28,13 @@ jobs: - name: Build with Gradle uses: gradle/gradle-build-action@4137be6a8bf7d7133955359dbd952c0ca73b1021 with: - arguments: build \ No newline at end of file + arguments: build + - name: Get Current Time + uses: 1466587594/get-current-time@v2 + id: current-time + with: + format: YYYY-MM-DDTHH:mm:ss + utcOffset: "+09:00" # 기준이 UTC이기 때문에 한국시간인 KST를 맞추기 위해 +9시간 추가 + - name: Print Current Time + run: echo "Current Time=${{steps.current-time.outputs.formattedTime}}" # current-time 에서 지정한 포맷대로 현재 시간 출력 + shell: bash \ No newline at end of file