Skip to content

Commit

Permalink
Updated github action.
Browse files Browse the repository at this point in the history
  • Loading branch information
ylussaud committed Mar 15, 2024
1 parent 4573876 commit 8c69160
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
# Checking out code as the set-matrix step utilizes a file named matrix_includes.json
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4.1.1
# This step is explained more in a following section
- id: set-matrix
run: |
Expand Down Expand Up @@ -52,18 +52,18 @@ jobs:
echo "UPDATE_SITES=${UPDATE_SITES}" >> $GITHUB_OUTPUT
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4.1.1
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
uses: actions/setup-java@v4.2.0
with:
distribution: 'adopt'
java-version: ${{ matrix.java }}
- uses: actions/cache@v3
- uses: actions/cache@v4.0.1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml', '**/*.product') }}
restore-keys: |
${{ runner.os }}-maven-
${{ runner.os }}-maven-${{ hashFiles('**/pom.xml', '**/*.product') }}
- name: Setup website (documentation)
if: ${{ steps.updatesite_check.outputs.UPDATE_SITES }}
Expand All @@ -85,10 +85,10 @@ jobs:
./scripts/website-build.sh $TAG
- name: Install metacity and xvfb
uses: awalsh128/cache-apt-pkgs-action@v1.3.0
uses: awalsh128/cache-apt-pkgs-action@v1.4.2
with:
packages: xvfb metacity
version: 1.0
version: cache-apt-pkgs-${{ matrix.profile }}

- name: Build with Maven (${{ matrix.profile }})
env:
Expand Down

0 comments on commit 8c69160

Please sign in to comment.