diff --git a/.github/workflow/maven.yml b/.github/workflow/maven.yml deleted file mode 100644 index e35e77b..0000000 --- a/.github/workflow/maven.yml +++ /dev/null @@ -1,39 +0,0 @@ -# This workflow will build a Java project with Maven -# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven - -name: Eclipse Tycho build with Maven - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - - name: 'Check out repository' - uses: actions/checkout@v3 - - - name: 'Set up Java' - uses: actions/setup-java@v3 - with: - java-version: 17 - distribution: 'temurin' - cache: 'maven' - - - name: Build Maven artifacts - run: ./mvnw clean verify -PuseJenkinsSnapshots -f org.eclipse.xtext.maven.releng - - - - uses: actions/checkout@v3 - - name: Setup Maven Action - uses: s4u/setup-maven-action - - name: Build with Maven - run: mvn clean verify - - \ No newline at end of file diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index dbe9a29..1d92574 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -15,15 +15,19 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - - name: Set up JDK 17 - uses: actions/setup-java@v2 - with: - distribution: 'temurin' - java-version: '17' - cache: 'maven' - - name: Build with Maven - run: mvn clean verify + + - name: 'Check out repository' + uses: actions/checkout@v3 + + - name: 'Set up Java' + uses: actions/setup-java@v3 + with: + java-version: 17 + distribution: 'temurin' + cache: 'maven' + + - name: Build Maven artifacts + run: ./mvnw clean verify + \ No newline at end of file