Skip to content

Commit

Permalink
Add ci cd for gradle build
Browse files Browse the repository at this point in the history
  • Loading branch information
UdhayaShan1 committed Jun 17, 2024
1 parent 1623827 commit 83b13ff
Show file tree
Hide file tree
Showing 40 changed files with 31 additions and 4,672 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Java CI with Gradle

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
java-version: [17]

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'

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

- name: Build with Gradle
run: ./gradlew clean build
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed build/classes/java/main/com/docker3/model/User.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed build/libs/docker3-0.0.1-SNAPSHOT-plain.jar
Binary file not shown.
Binary file removed build/libs/docker3-0.0.1-SNAPSHOT.jar
Binary file not shown.
1,821 changes: 0 additions & 1,821 deletions build/reports/tests/test/classes/com.docker3.Docker3ApplicationTests.html

This file was deleted.

179 changes: 0 additions & 179 deletions build/reports/tests/test/css/base-style.css

This file was deleted.

84 changes: 0 additions & 84 deletions build/reports/tests/test/css/style.css

This file was deleted.

Loading

0 comments on commit 83b13ff

Please sign in to comment.