Skip to content

Commit

Permalink
updates gh actions
Browse files Browse the repository at this point in the history
Signed-off-by: Max Thonagel <12283268+thoniTUB@users.noreply.github.com>
  • Loading branch information
thoniTUB committed Apr 25, 2024
1 parent cdcb67b commit 43750c9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: set java 17
uses: actions/setup-java@v1
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: 17
distribution: 'temurin'
java-version: '17'
overwrite-settings: false

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
16 changes: 10 additions & 6 deletions .github/workflows/test_cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
timeout-minutes: 10
steps:
- name: Cache local Maven repository
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

Expand All @@ -34,9 +34,11 @@ jobs:
node-version: 18

- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 17
distribution: 'temurin'
java-version: '17'
overwrite-settings: false

- name: Build Backend
run: ./scripts/build_backend_no_version.sh
Expand All @@ -53,14 +55,16 @@ jobs:
start: bash ./scripts/run_e2e_all.sh
wait-on: "http://localhost:8000"

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots
if-no-files-found: ignore

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos
path: cypress/videos
if-no-files-found: ignore

0 comments on commit 43750c9

Please sign in to comment.