From a0e669a8701fb9fcc88d23d8d485cb85b1d52f6a Mon Sep 17 00:00:00 2001 From: Seonghan Im <> Date: Wed, 8 Nov 2023 23:21:25 +0900 Subject: [PATCH] =?UTF-8?q?github=20action=20yml=20=EC=9E=91=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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..58b2f38 --- /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@c2 + + -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 \ No newline at end of file