Skip to content

Commit

Permalink
Update deployBack.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JONG-KYEONG committed Jan 7, 2024
1 parent 016cfce commit 57028b8
Showing 1 changed file with 18 additions and 14 deletions.
32 changes: 18 additions & 14 deletions .github/workflows/deployBack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,25 @@ on:
pull_request:
branches: [ "develop" ]

permissions:
contents: read

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
build:

- name: Grant execute permission for gradlew
run: chmod +x ./gradlew
shell: bash
runs-on: ubuntu-latest

- name: Build and Test
run: ./gradlew build test
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
# uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
# with:
# arguments: build
run : ./gradlew clean build --exclude-task test

0 comments on commit 57028b8

Please sign in to comment.