diff --git a/.github/workflows/Build-Test.yaml b/.github/workflows/Build-Test.yaml index 9b2dd5a..bc41bb2 100644 --- a/.github/workflows/Build-Test.yaml +++ b/.github/workflows/Build-Test.yaml @@ -3,6 +3,7 @@ name: Build Test CI/CD on: push: branches: '**' + branches-ignore: [ 'main', 'dev'] jobs: build: @@ -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