Skip to content

Commit

Permalink
github action yml 작성
Browse files Browse the repository at this point in the history
  • Loading branch information
Seonghan Im committed Nov 8, 2023
1 parent a21cc8d commit a0e669a
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a0e669a

Please sign in to comment.