Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
blaz-cerpnjak authored Mar 16, 2024
1 parent 4e1d078 commit 9abbc83
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ jobs:
run: mvn -B package --file pom.xml

- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name: Build with Gradle
working-directory: ./OrderProcessingAPI
run: |
./gradlew build
uses: actions/cache@v3
with:
working-directory: ./OrderProcessingAPI
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('build.gradle') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Run Tests
- name: Build and test with Gradle
working-directory: ./OrderProcessingAPI
run: |
./gradlew test
run: ./gradlew build test

0 comments on commit 9abbc83

Please sign in to comment.