You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by pa...@apache.org on 2023/01/24 18:33:55 UTC

[arrow-nanoarrow] branch main updated: fix(ci): Actually commit bundled IPC extension to dist/ (#96)

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

paleolimbot pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-nanoarrow.git


The following commit(s) were added to refs/heads/main by this push:
     new a9f66cd  fix(ci): Actually commit bundled IPC extension to dist/ (#96)
a9f66cd is described below

commit a9f66cdbff422142da9006032837d022208c2605
Author: Dewey Dunnington <de...@dunnington.ca>
AuthorDate: Tue Jan 24 14:33:50 2023 -0400

    fix(ci): Actually commit bundled IPC extension to dist/ (#96)
    
    * a little verbosity to debug
    
    * maybe with git add
    
    * try with wildcard
    
    * reenable commit + push
---
 .github/workflows/build-and-test-ipc.yaml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build-and-test-ipc.yaml b/.github/workflows/build-and-test-ipc.yaml
index fa0e398..7518b66 100644
--- a/.github/workflows/build-and-test-ipc.yaml
+++ b/.github/workflows/build-and-test-ipc.yaml
@@ -174,13 +174,15 @@ jobs:
       - name: Commit bundle to dist/
         if: success() && github.repository == 'apache/arrow-nanoarrow' && github.ref == 'refs/heads/main'
         run: |
-          cp -r extensions/nanoarrow_ipc/nanoarrow-latest/ dist/
+          cp -r extensions/nanoarrow_ipc/nanoarrow-latest/* dist/
+          git add dist/**
 
           # only commit if there are changes
           git config --global user.email "actions@github.com"
           git config --global user.name "GitHub Actions"
           UPDATED=`git diff --name-only --cached`
           if [ "$UPDATED" ]; then
-            git commit -m "Update dist/ for commit ${{ github.sha }}"
+            git commit -m "ipc: Update dist/ for commit ${{ github.sha }}"
             git push
+            echo "$UPDATED"
           fi