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

william pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/main by this push:
     new 098b2fe2e ORC-1174: Add `Ubuntu 22.04` to GitHub Action (#1121)
098b2fe2e is described below

commit 098b2fe2e8fb0aa0f7cbb7b5847f7158d3bb3d9c
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Wed May 18 20:20:23 2022 -0700

    ORC-1174: Add `Ubuntu 22.04` to GitHub Action (#1121)
    
    ### 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 e3f0e9c32..8594fe484 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -23,6 +23,7 @@ jobs:
       matrix:
         os:
           - ubuntu-20.04
+          - ubuntu-22.04
           - macos-11
           - macos-12
         java:
@@ -66,6 +67,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 a936522c8..586e89061 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -265,6 +265,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