You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by mb...@apache.org on 2022/04/02 02:35:47 UTC
[roller] branch master updated: upload dev build + add JDK 18 to the matrix + version bumps.
This is an automated email from the ASF dual-hosted git repository.
mbien pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/roller.git
The following commit(s) were added to refs/heads/master by this push:
new 9382c28 upload dev build + add JDK 18 to the matrix + version bumps.
new 2deb120 Merge pull request #116 from mbien/ci-improvements
9382c28 is described below
commit 9382c28bdb15fdcf5528798d1c8765031d853757
Author: Michael Bien <mb...@gmail.com>
AuthorDate: Sat Apr 2 04:14:17 2022 +0200
upload dev build + add JDK 18 to the matrix + version bumps.
---
.github/workflows/main.yml | 39 +++++++++++++++++++++++++--------------
1 file changed, 25 insertions(+), 14 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index d9bbf40..33a6c60 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -34,7 +34,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- java: [ '11', '17' ]
+ java: [ '11', '17', '18' ]
steps:
- name: Set up JDK ${{ matrix.java }}
@@ -44,7 +44,7 @@ jobs:
distribution: 'zulu'
- name: Checkout Project
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Build Roller and run JUnit Tests
run: mvn -V -ntp install
@@ -55,16 +55,27 @@ jobs:
bash -c "wget -c https://github.com/mozilla/geckodriver/releases/download/v0.30.0/geckodriver-v0.30.0-linux64.tar.gz -O - | tar -xz"
mvn -V -ntp install
- - name: Publish JUnit Report
- uses: mikepenz/action-junit-report@v2
- if: always()
- with:
- check_name: JUnit Reports for Linux/JDK ${{ matrix.java }}
- report_paths: 'app/target/surefire-reports/TEST-*.xml'
-
- - name: Publish IT Report
- uses: mikepenz/action-junit-report@v2
- if: always()
+# TODO: needs submodule workaround since apache does not allow third party actions anymore
+# - name: Publish JUnit Report
+# uses: mikepenz/action-junit-report@v3
+# if: always()
+# with:
+# check_name: JUnit Reports for Linux/JDK ${{ matrix.java }}
+# report_paths: 'app/target/surefire-reports/TEST-*.xml'
+#
+# - name: Publish IT Report
+# uses: mikepenz/action-junit-report@v3
+# if: always()
+# with:
+# check_name: IT Reports for Linux/JDK ${{ matrix.java }}
+# report_paths: 'it-selenium/target/failsafe-reports/TEST-*.xml'
+
+ # only on integration and only once in this matrix
+ - name: Upload Dev Build on Integration
+ if: ${{ (matrix.java == '11') && (github.event_name == 'push') }}
+ uses: actions/upload-artifact@v3
with:
- check_name: IT Reports for Linux/JDK ${{ matrix.java }}
- report_paths: 'it-selenium/target/failsafe-reports/TEST-*.xml'
+ name: dev-build
+ path: ./app/target/roller.war
+ retention-days: 90
+ if-no-files-found: error