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

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


The following commit(s) were added to refs/heads/main by this push:
     new a5b86049 MINOR: Specify --repo explicitly (#591)
a5b86049 is described below

commit a5b86049261530d41fbbdd23324420f0c1d14431
Author: Sutou Kouhei <[email protected]>
AuthorDate: Thu Feb 6 15:01:58 2025 +0900

    MINOR: Specify --repo explicitly (#591)
    
    We don't checkout apache/arrow-java in this job. So we need to specify
    --repo explicitly.
---
 .github/workflows/rc.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/rc.yml b/.github/workflows/rc.yml
index 67248a40..faad5983 100644
--- a/.github/workflows/rc.yml
+++ b/.github/workflows/rc.yml
@@ -605,7 +605,9 @@ jobs:
           # https://github.com/cli/cli/issues/9586
           for artifact in artifacts/*/*; do
             sleep 1
-            gh release upload ${GITHUB_REF_NAME} $artifact
+            gh release upload ${GITHUB_REF_NAME} \
+              --repo ${GITHUB_REPOSITORY} \
+              $artifact
           done
         env:
           GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Reply via email to