Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

Commit

Permalink
#47 jacoco badge 생성 - 들여쓰기 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ypr821 authored and YPR committed Feb 10, 2022
1 parent 1b03a1f commit 4fbfcd2
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,41 +13,41 @@ jobs:
build:

runs-on: ubuntu-latest
env :
env:
working-directory: ./

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
working-directory: ${{ env.working-directory }}
- name: Build with Gradle
env:
MYSQL_URL: ${{ secrets.MYSQL_URL }}
MYSQL_PORT: ${{ secrets.MYSQL_PORT }}
MYSQL_DBNAME: ${{ secrets.MYSQL_DBNAME }}
MYSQL_PASSWORD: ${{ secrets.MYSQL_PASSWORD }}
MYSQL_USERNAME: ${{ secrets.MYSQL_USERNAME }}
AUTHORIZATION: ${{ secrets.AUTHORIZATION }}
run: ./gradlew build
working-directory: ${{ env.working-directory }}
- name: build result to slack
uses: 8398a7/action-slack@v3
with:
status: ${{job.status}}
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
author_name: Door rush CI
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # required
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
working-directory: ${{ env.working-directory }}
- name: Build with Gradle
env:
MYSQL_URL: ${{ secrets.MYSQL_URL }}
MYSQL_PORT: ${{ secrets.MYSQL_PORT }}
MYSQL_DBNAME: ${{ secrets.MYSQL_DBNAME }}
MYSQL_PASSWORD: ${{ secrets.MYSQL_PASSWORD }}
MYSQL_USERNAME: ${{ secrets.MYSQL_USERNAME }}
AUTHORIZATION: ${{ secrets.AUTHORIZATION }}
run: ./gradlew build
working-directory: ${{ env.working-directory }}
- name: build result to slack
uses: 8398a7/action-slack@v3
with:
status: ${{job.status}}
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
author_name: Door rush CI
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # required
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # required

- name: Generate JaCoCo Badge
- name: Generate JaCoCo Badge
id: jacoco
uses: cicirello/[email protected]
with:
Expand Down

0 comments on commit 4fbfcd2

Please sign in to comment.