From b26beb1b07dfc2f8d374c5a6c14cfacf79e2c77e Mon Sep 17 00:00:00 2001 From: Jan Dvorak Date: Sat, 9 Dec 2023 17:45:16 +0100 Subject: [PATCH] Use actions/checkout@v4 instead of the command-line git clone --- .github/workflows/maven.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 9047e77..0cca808 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -17,9 +17,10 @@ jobs: steps: - uses: actions/checkout@v3 - name: Checkout the OpenAIRE Guidelines for CRIS Managers repo - run: git clone --branch=v1.2 https://github.com/euroCRIS/guidelines-cris-managers.git ../guidelines-cris-managers + uses: actions/checkout@v4 with: - github_token: ${{ secrets.GITHUB_TOKEN }} + repository: euroCRIS/guidelines-cris-managers + path: guidelines-cris-managers - name: Set up JDK 17 uses: actions/setup-java@v3 with: