This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch branch-1.7
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/branch-1.7 by this push:
     new 3addb84b7 ORC-1174: Add `Ubuntu 22.04` to GitHub Action (#1128)
3addb84b7 is described below

commit 3addb84b7a32b1958322c183da2b994fba1bee46
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Wed May 18 21:57:19 2022 -0700

    ORC-1174: Add `Ubuntu 22.04` to GitHub Action (#1128)
    
    ### What changes were proposed in this pull request?
    
    This PR aims to add `Ubuntu 22.04` to GitHub Action.
    
    ### Why are the changes needed?
    
    This will help the verification on the latest release.
    
    Although [GitHub Action Virtual 
Environments](https://github.com/actions/virtual-environments) don't support 
`Ubuntu 22.04` officially yet, `Ubuntu 22.04` is available as `Public Beta`.
    
    - https://github.com/actions/virtual-environments/issues/5490
    
    ### How was this patch tested?
    
    Pass the GitHub Action on this PR.
---
 .github/workflows/build_and_test.yml | 5 +++++
 java/pom.xml                         | 1 +
 2 files changed, 6 insertions(+)

diff --git a/.github/workflows/build_and_test.yml 
b/.github/workflows/build_and_test.yml
index 17cc4b89c..59ed1c0ea 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -17,6 +17,7 @@ jobs:
       matrix:
         os:
           - ubuntu-20.04
+          - ubuntu-22.04
           - macos-11
           - macos-12
         java:
@@ -60,6 +61,10 @@ jobs:
           cmake -DANALYZE_JAVA=ON -DOPENSSL_ROOT_DIR=`brew --prefix 
[email protected]` ..
         fi
         make package test-out
+    - name: Step on failure
+      if: ${{ failure() }}
+      run: |
+        cat /home/runner/work/orc/orc/build/java/rat.txt
 
   windows:
     name: "Build on Windows"
diff --git a/java/pom.xml b/java/pom.xml
index 2f05b3f96..be9dec8f4 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -263,6 +263,7 @@
               <exclude>**/*.out</exclude>
               <exclude>**/*.schema</exclude>
               <exclude>**/*.md</exclude>
+              <exclude>**/m2.conf</exclude>
               <exclude>**/target/**</exclude>
               <exclude>.idea/**</exclude>
               <exclude>**/*.iml</exclude>

Reply via email to