Skip to content

Create deploy.yml

Create deploy.yml #1

Workflow file for this run

name: techeer-market
on:
push:
-develop
workflow_dispath:
jobs:
build:
runs-on: ubuntu-latest
steps:
-name: Checkout
uses: actions/checkout@v2

Check failure on line 14 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
-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