Skip to content

Commit

Permalink
Merge pull request kitodo#5922 from slub/update_used_actions
Browse files Browse the repository at this point in the history
Updated used action from version 3 to version 4
  • Loading branch information
solth authored Feb 20, 2024
2 parents 82e97ef + 8b3378c commit 49afd11
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -57,15 +56,15 @@ 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'
- name: check java version
run:
java --version
- name: check maven version
run:
run:
mvn --version
- name: run build
run:
Expand Down

0 comments on commit 49afd11

Please sign in to comment.