You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by mr...@apache.org on 2023/03/09 08:06:58 UTC
[jackrabbit-oak] branch trunk updated: OAK-10134: Update Oak GitHub actions (#867)
This is an automated email from the ASF dual-hosted git repository.
mreutegg pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
The following commit(s) were added to refs/heads/trunk by this push:
new b0c2f2ef11 OAK-10134: Update Oak GitHub actions (#867)
b0c2f2ef11 is described below
commit b0c2f2ef116c7273e1646e3b0f95b014fa48c9e6
Author: Marcel Reutegger <ma...@gmail.com>
AuthorDate: Thu Mar 9 09:06:52 2023 +0100
OAK-10134: Update Oak GitHub actions (#867)
OAK-10134: Update Oak GitHub actions
Use most recent version of actions in use
---
.github/workflows/build.yml | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d72833b62d..ac020aecdc 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -27,21 +27,22 @@ jobs:
name: Build and analyze
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3.3.0
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 11
- uses: actions/setup-java@v1
+ uses: actions/setup-java@v3.10.0
with:
java-version: 11
+ distribution: temurin
- name: Cache SonarCloud packages
- uses: actions/cache@v1
+ uses: actions/cache@v3.2.6
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Maven packages
- uses: actions/cache@v1
+ uses: actions/cache@v3.2.6
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}