From 9e70274a2dc44f3579ba68ad421e9c83d244173c Mon Sep 17 00:00:00 2001 From: SeongHan Im <80394582+seonghanIm@users.noreply.github.com> Date: Wed, 8 Nov 2023 23:34:56 +0900 Subject: [PATCH] Create deploy.yml --- .github/workflows/deploy.yml | 39 ++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..766f0fc --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,39 @@ +name: techeer-market + +on: + push: + -develop + workflow_dispath: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + -name: Checkout + uses: actions/checkout@v2 + + -name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'adopt' + + -name: Grant execute permission for gradlew + run: chmod +x ./gradlew + shell: bash + + -name: Build with Gradle + run: ./gradlew clean build + shell: bash + + -name: Get build time + usees: 1466587594/get-current-time@v2 + id: current-time + with: + format: YYYY-MM-DDTHH-mm-ss + utcOffset: "+09:00" + + -name: Show Current Time + run: echo "CurrentTime = ${{steps.current-time.outputs.formattedTime}}" + shell: bash