Skip to content

Commit

Permalink
releng: upgrade github artifacts to v4 in CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
adel-belkhiri authored and bhufmann committed Jan 28, 2025
1 parent 114305b commit 2bb8caa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Continuous Integration

on:
push:
branches:
branches:
- master
- stable-*
- 2021-06
Expand All @@ -19,15 +19,15 @@ jobs:
timeout-minutes: 90

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Copy legacy files
run: |
cp -f ./rcp/org.eclipse.tracecompass.incubator.rcp.product/legacy/tracing.incubator.product ./rcp/org.eclipse.tracecompass.incubator.rcp.product/tracing.incubator.product
cp -f ./trace-server/org.eclipse.tracecompass.incubator.trace.server.product/legacy/traceserver.product ./trace-server/org.eclipse.tracecompass.incubator.trace.server.product/traceserver.product
- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
Expand All @@ -42,15 +42,15 @@ jobs:
run: >-
mvn -B clean install -Dtarget-platform=tracecompass-incubator-e4.20 -Djdk.version=11 -Djdk.release=11 -Dtycho-use-project-settings=false
- name: Upload logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: build logs
path: |
*/*tests/screenshots/*.jpeg
*/*tests/target/work/data/.metadata/.log
- name: Upload test results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: test results
Expand Down

0 comments on commit 2bb8caa

Please sign in to comment.