From 4a63991cdde85c716a7f59874815132938d9b59a Mon Sep 17 00:00:00 2001 From: "A. Costa" Date: Fri, 17 Jun 2022 14:41:27 +0200 Subject: [PATCH 1/3] feat: CI github action --- .github/workflows/build.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..cec4346 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,21 @@ +name: Java CI + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'adopt' + - name: Validate Gradle wrapper + uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b + - name: Build with Gradle + uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee + with: + arguments: build From a7a21b97a486ba31944c84762aedf69459496088 Mon Sep 17 00:00:00 2001 From: "A. Costa" Date: Fri, 17 Jun 2022 14:47:07 +0200 Subject: [PATCH 2/3] build action is quarkusBuild --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cec4346..0abf8b4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,4 +18,4 @@ jobs: - name: Build with Gradle uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee with: - arguments: build + arguments: quarkusBuild From 46e27061d63406c32dd7b8fc8e0b2f59503e44c1 Mon Sep 17 00:00:00 2001 From: "A. Costa" Date: Fri, 17 Jun 2022 15:01:53 +0200 Subject: [PATCH 3/3] quarkusBuild --- .github/workflows/build.yml | 21 --------------------- .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 21 deletions(-) delete mode 100644 .github/workflows/build.yml create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 0abf8b4..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Java CI - -on: [push] - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - name: Set up JDK 11 - uses: actions/setup-java@v3 - with: - java-version: '11' - distribution: 'adopt' - - name: Validate Gradle wrapper - uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b - - name: Build with Gradle - uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee - with: - arguments: quarkusBuild diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..52a1982 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: Quarkus CI + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'adopt' +# - name: Validate Gradle wrapper +# uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b +# - name: Build with Gradle +# uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee +# with: +# arguments: quarkusBuild +# run: ./gradlew quarkusBuild --scan + - name: Run build with Gradle wrapper + run: ./gradlew quarkusBuild \ No newline at end of file