Skip to content

Commit 05f2d2e

Browse files
committed
Update CI actions
1 parent 7ff92c7 commit 05f2d2e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci-actions.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,27 @@ jobs:
2020
java-version: 17,
2121
}
2222
steps:
23-
- uses: actions/checkout@v2
23+
- uses: actions/checkout@v4
2424
- name: Set up JDK @{}
25-
uses: actions/setup-java@v1.4.3
25+
uses: actions/setup-java@v3.12.0
2626
with:
2727
java-version: ${{ matrix.java.java-version }}
28+
distribution: 'temurin'
2829
- name: Get Date
2930
id: get-date
3031
run: |
3132
echo "::set-output name=date::$(/bin/date -u "+%Y-%m")"
3233
shell: bash
3334
- name: Cache Maven Repository
3435
id: cache-maven
35-
uses: actions/cache@v2
36+
uses: actions/cache@v3
3637
with:
3738
path: ~/.m2/repository
3839
# Caching is an automated pre/post action that installs the cache if the key exists and exports the cache
3940
# after the job is done. In this case we refresh the cache monthly (by changing key) to avoid unlimited growth.
4041
key: q2maven-master-${{ steps.get-date.outputs.date }}
4142
- name: Build with Maven
42-
run: WELD_JUNIT_DEBUG=spotbugs mvn clean install -Dspotbugs.failOnError=true
43+
run: WELD_JUNIT_DEBUG=spotbugs mvn clean install -Dno-format -Dspotbugs.failOnError=true
4344
- name: Delete Local Artifacts From Cache
4445
shell: bash
4546
run: rm -r ~/.m2/repository/org/jboss/weld/weld-junit*
@@ -48,7 +49,7 @@ jobs:
4849
shell: bash
4950
run: find . -name '*-reports' -type d | tar -czf test-reports.tgz -T -
5051
- name: Upload failure Archive (if maven failed)
51-
uses: actions/upload-artifact@v1
52+
uses: actions/upload-artifact@v3
5253
if: failure()
5354
with:
5455
name: test-reports-jdk${{matrix.java.name}}

0 commit comments

Comments
 (0)