Skip to content

Commit

Permalink
Update GH Actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
manovotn committed Sep 30, 2024
1 parent 13a481c commit 19c9e2b
Showing 1 changed file with 34 additions and 34 deletions.
68 changes: 34 additions & 34 deletions .github/workflows/ci-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v3.12.0
uses: actions/setup-java@v4.2.1
with:
java-version: 11
distribution: 'temurin'
Expand All @@ -35,7 +35,7 @@ jobs:
shell: bash
- name: Cache Maven Repository
id: cache-maven
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
# Caching is an automated pre/post action that installs the cache if the key exists and exports the cache
Expand All @@ -54,15 +54,15 @@ jobs:
zip -r wildfly.zip wildfly
cd ..
- name: Persist WildFly
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wildfly-patched-zip
path: container/wildfly.zip
- name: Tar Maven Repo
shell: bash
run: tar -czf maven-repo.tgz -C ~ .m2/repository
- name: Persist Maven Repo
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: maven-repo
path: maven-repo.tgz
Expand Down Expand Up @@ -94,20 +94,20 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java.name }}
uses: actions/setup-java@v3.12.0
uses: actions/setup-java@v4.2.1
with:
java-version: ${{ matrix.java.java-version }}
distribution: 'temurin'
- name: Download Maven Repo
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: maven-repo
path: .
- name: Extract Maven Repo
shell: bash
run: tar -xzf maven-repo.tgz -C ~
- name: Download Patched WildFly
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: wildfly-patched-zip
path: .
Expand All @@ -125,13 +125,13 @@ jobs:
find . -name '*-reports' -type d | tar -czf test-reports.tgz -T -
find . -name 'server.log' -type f | tar -czf server-log.tgz -T -
- name: Upload failure Archive (if maven failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-reports-incontainer-jdk${{matrix.java.name}}
path: 'test-reports.tgz'
- name: Upload server log artifact (if maven failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: server-log-incontainer-jdk${{matrix.java.name}}
Expand Down Expand Up @@ -161,20 +161,20 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java.name }}
uses: actions/setup-java@v3.12.0
uses: actions/setup-java@v4.2.1
with:
java-version: ${{ matrix.java.java-version }}
distribution: 'temurin'
- name: Download Maven Repo
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: maven-repo
path: .
- name: Extract Maven Repo
shell: bash
run: tar -xzf maven-repo.tgz -C ~
- name: Download Patched WildFly
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: wildfly-patched-zip
path: .
Expand All @@ -192,13 +192,13 @@ jobs:
find . -name '*-reports' -type d | tar -czf test-reports.tgz -T -
find . -name 'server.log' -type f | tar -czf server-log.tgz -T -
- name: Upload failure Archive (if maven failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-reports-cdi-tck-jdk${{matrix.java.name}}
path: 'test-reports.tgz'
- name: Upload server log artifact (if maven failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: server-log-cdi-tck-jdk${{matrix.java.name}}
Expand All @@ -220,20 +220,20 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java.name }}
uses: actions/setup-java@v3.12.0
uses: actions/setup-java@v4.2.1
with:
java-version: ${{ matrix.java.java-version }}
distribution: 'temurin'
- name: Download Maven Repo
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: maven-repo
path: .
- name: Extract Maven Repo
shell: bash
run: tar -xzf maven-repo.tgz -C ~
- name: Download Patched WildFly
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: wildfly-patched-zip
path: .
Expand All @@ -251,13 +251,13 @@ jobs:
find . -name '*-reports' -type d | tar -czf test-reports.tgz -T -
find . -name 'server.log' -type f | tar -czf server-log.tgz -T -
- name: Upload failure Archive (if maven failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-reports-cdi-tck-jdk${{matrix.java.name}}-incontainer-relaxed
path: 'test-reports.tgz'
- name: Upload server log artifact (if maven failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: server-log-cdi-tck-jdk${{matrix.java.name}}
Expand All @@ -270,7 +270,7 @@ jobs:
shell: bash
run: find . -name '*-reports' -type d | tar -czf test-reports.tgz -T -
- name: Upload failure Archive (if maven failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-reports-cdi-tck-jdk${{matrix.java.name}}-relaxed
Expand Down Expand Up @@ -300,12 +300,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java.name }}
uses: actions/setup-java@v3.12.0
uses: actions/setup-java@v4.2.1
with:
java-version: ${{ matrix.java.java-version }}
distribution: 'temurin'
- name: Download Maven Repo
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: maven-repo
path: .
Expand All @@ -320,7 +320,7 @@ jobs:
shell: bash
run: find . -name '*-reports' -type d | tar -czf test-reports.tgz -T -
- name: Upload failure Archive (if maven failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-reports-no-container-jdk${{matrix.java.name}}
Expand All @@ -335,20 +335,20 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v3.12.0
uses: actions/setup-java@v4.2.1
with:
java-version: 11
distribution: 'temurin'
- name: Download Maven Repo
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: maven-repo
path: .
- name: Extract Maven Repo
shell: bash
run: tar -xzf maven-repo.tgz -C ~
- name: Download Patched WildFly
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: wildfly-patched-zip
path: .
Expand All @@ -366,13 +366,13 @@ jobs:
find . -name '*-reports' -type d | tar -czf test-reports.tgz -T -
find . -name 'server.log' -type f | tar -czf server-log.tgz -T -
- name: Upload failed tests artifact (if maven failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-reports-examples
path: 'test-reports.tgz'
- name: Upload server log artifact (if maven failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: server-log-examples
Expand Down Expand Up @@ -402,12 +402,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java.name }}
uses: actions/setup-java@v3.12.0
uses: actions/setup-java@v4.2.1
with:
java-version: ${{ matrix.java.java-version }}
distribution: 'temurin'
- name: Download Maven Repo
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: maven-repo
path: .
Expand All @@ -422,7 +422,7 @@ jobs:
shell: bash
run: find . -name '*-reports' -type d | tar -czf test-reports.tgz -T -
- name: Upload failure Archive (if maven failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-reports-cdi-tck-se-jdk${{matrix.java.name}}
Expand All @@ -437,12 +437,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v3.12.0
uses: actions/setup-java@v4.2.1
with:
java-version: 11
distribution: 'temurin'
- name: Download Maven Repo
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: maven-repo
path: .
Expand All @@ -457,7 +457,7 @@ jobs:
shell: bash
run: find . -name '*-reports' -type d | tar -czf test-reports.tgz -T -
- name: Upload failure Archive (if maven failed)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-reports-se-servlet-coop
Expand Down

0 comments on commit 19c9e2b

Please sign in to comment.