Skip to content

Commit

Permalink
Merge pull request #132 from FraunhoferIOSB/feature/splitWorkflow
Browse files Browse the repository at this point in the history
{Feature] split up github workflows
  • Loading branch information
fvolz authored Aug 23, 2024
2 parents c5331be + 5db2422 commit cc115d0
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/gradle-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle

name: Java CI with Gradle

on:
pull_request:
branches: [ "main" ]

permissions:
contents: read

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/gradle-build-action@ac2d340dc04d9e1113182899e983b5400c17cda1
with:
arguments: clean build
2 changes: 0 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ name: Java CI with Gradle
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

permissions:
contents: read
Expand Down

0 comments on commit cc115d0

Please sign in to comment.