-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Maarten Bosteels
committed
Feb 12, 2025
1 parent
560eca0
commit 35b6697
Showing
1 changed file
with
34 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
name: Gradle Test | ||
|
||
# on: | ||
# push: | ||
# branches: [main] | ||
# pull_request: | ||
# branches: [main] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: "17" | ||
distribution: "temurin" | ||
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml | ||
settings-path: ${{ github.workspace }} # location for the settings.xml file | ||
- uses: isbang/[email protected] | ||
name: Setup DB and localstack | ||
with: | ||
services: | | ||
db | ||
localstack | ||
- name: Build with Gradle | ||
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1 | ||
with: | ||
arguments: build | ||
#name: Gradle Test | ||
# | ||
## on: | ||
## push: | ||
## branches: [main] | ||
## pull_request: | ||
## branches: [main] | ||
#jobs: | ||
# build: | ||
# runs-on: ubuntu-latest | ||
# permissions: | ||
# contents: read | ||
# packages: write | ||
# | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
# - name: Set up JDK 17 | ||
# uses: actions/setup-java@v3 | ||
# with: | ||
# java-version: "17" | ||
# distribution: "temurin" | ||
# server-id: github # Value of the distributionManagement/repository/id field of the pom.xml | ||
# settings-path: ${{ github.workspace }} # location for the settings.xml file | ||
# - uses: isbang/[email protected] | ||
# name: Setup DB and localstack | ||
# with: | ||
# services: | | ||
# db | ||
# localstack | ||
# | ||
# - name: Build with Gradle | ||
# uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1 | ||
# with: | ||
# arguments: build |