Skip to content

Commit

Permalink
update: build test trigger on workflow
Browse files Browse the repository at this point in the history
exclude main, dev branch
  • Loading branch information
coding-convention committed Jul 1, 2023
1 parent e37f7e2 commit c926fb9
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions .github/workflows/Build-Test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Build Test CI/CD
on:
push:
branches: '**'
branches-ignore: [ 'main', 'dev']

jobs:
build:
Expand All @@ -11,23 +12,16 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up JDK 17
- name: Setup JDK 17
uses: actions/setup-java@v2
with:
java-version: 17
distribution: 'adopt'

- name: Grant execute permission for gradlew
run: chmod +x gradlew

# - name: Build Project
# run: ./gradlew build

- name: Build Project

- name: Setup Gradle 7.6
uses: gradle/gradle-build-action@v2
with:
gradle-version: release-candidate
- run: gradle build

- name: ls
run: ls ./build/libs
gradle-version: 7.6

- name: Build Project
run: gradle build

0 comments on commit c926fb9

Please sign in to comment.