Skip to content

Commit

Permalink
Update deprecated GH actions
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Bescos Gascon <[email protected]>
  • Loading branch information
jbescos authored Nov 12, 2024
1 parent 5a84125 commit e9e85e5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2021, 2023 Contributors to the Eclipse Foundation
# Copyright (c) 2021, 2024 Contributors to the Eclipse Foundation
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License v. 2.0 which is available at
Expand Down Expand Up @@ -47,11 +47,12 @@ jobs:
mvn -B -V -U -C -Poss-release,staging clean verify org.glassfish.copyright:glassfish-copyright-maven-plugin:check -Dgpg.skip=true -Dcopyright.ignoreyear=true
echo "::set-output name=jdk::${{ matrix.java_version }}"
- name: Upload binary image
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: success()
with:
name: parsson-dist
path: bundles/dist/target/parsson-dist.zip
overwrite: true

test:
needs: build
Expand All @@ -74,7 +75,7 @@ jobs:
with:
fetch-depth: 0
- name: Download binaries
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: parsson-dist
- name: Prepare distribution
Expand All @@ -86,7 +87,8 @@ jobs:
build-root-directory: tck-impl
arguments: check -Pparsson.home=image/parsson-dist -Pparsson.impl=${{ matrix.test_suite }}
- name: Upload test results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: test-results
path: tck-impl/build/distributions/tck-test-results.zip
overwrite: true

0 comments on commit e9e85e5

Please sign in to comment.