Skip to content

Commit

Permalink
updated actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzoBettini committed Apr 23, 2024
1 parent acc868e commit d1e4add
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ jobs:

steps:
- name: 'Check out repository'
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 'Set up Java'
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'temurin'

- name: 'Cache Maven packages'
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml', '**/*.target') }}
Expand All @@ -44,18 +44,18 @@ jobs:
if: runner.os == 'Windows'

- name: Build and test
uses: coactions/setup-xvfb@v1
uses: coactions/setup-xvfb@v1.0.1
with:
run: ./mvnw clean verify "-Dmaven.home=${{ env.MAVEN_WRAPPER_HOME }}" -PuseJenkinsSnapshots -f org.eclipse.xtext.full.releng

- name: Archive Test Results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: ${{ failure() || cancelled() }}
with:
name: test-results-${{ runner.os }}
path: '**/*.tests/target/surefire-reports'
- name: Archive Logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: ${{ failure() || cancelled() }}
with:
name: logs-${{ runner.os }}
Expand All @@ -67,16 +67,16 @@ jobs:

steps:
- name: 'Check out repository'
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 'Set up Java'
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'temurin'

- name: 'Cache Maven packages'
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml', '**/*.target') }}
Expand All @@ -89,13 +89,13 @@ jobs:
run: ./mvnw clean verify "-Dmaven.home=${{ env.MAVEN_WRAPPER_HOME }}" -PuseJenkinsSnapshots -f org.eclipse.xtext.maven.releng

- name: Archive Test Results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: ${{ failure() || cancelled() }}
with:
name: test-results-${{ runner.os }}
path: '**/target/surefire-reports'
- name: Archive Logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: ${{ failure() || cancelled() }}
with:
name: logs-${{ runner.os }}
Expand Down

0 comments on commit d1e4add

Please sign in to comment.