From 8b3378cbd21fbdc5a3ef7ad86f8e195a6a8ff299 Mon Sep 17 00:00:00 2001 From: Henning Gerhardt Date: Mon, 19 Feb 2024 10:41:53 +0100 Subject: [PATCH] Updated used action from version 3 to version 4 --- .github/workflows/main.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e2a31dd0169..05d6aefe092 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,7 +2,7 @@ name: CI -# Controls when the action will run. +# Controls when the action will run. on: # Triggers the workflow on push and pull request events but only for pull_requests on the master branch push: @@ -20,22 +20,21 @@ jobs: runs-on: ubuntu-20.04 # Steps represent a sequence of tasks that will be executed as part of the job steps: - - name: update chrome to latest stable + - name: update chrome to latest stable run: | wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' sudo apt-get update sudo apt-get --only-upgrade install google-chrome-stable - + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: copy files run: | cp $GITHUB_WORKSPACE/config/database.yml.actions $GITHUB_WORKSPACE/config/database.yml cp $GITHUB_WORKSPACE/Kitodo-DataManagement/src/main/resources/db/config/flyway.properties.actions $GITHUB_WORKSPACE/Kitodo-DataManagement/src/main/resources/db/config/flyway.properties - # Runs a set of commands using the runners shell - name: start mysql run: @@ -57,7 +56,7 @@ jobs: run: mysql -u root -proot kitodo < $GITHUB_WORKSPACE/Kitodo/setup/default.sql - name: set up JDK 11 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: '11' distribution: 'adopt' @@ -65,7 +64,7 @@ jobs: run: java --version - name: check maven version - run: + run: mvn --version - name: run build run: