kou commented on code in PR #43438:
URL: https://github.com/apache/arrow/pull/43438#discussion_r1694426545


##########
dev/tasks/java-jars/github.yml:
##########
@@ -50,6 +52,45 @@ jobs:
       {{ macros.github_checkout_arrow()|indent }}
       {{ macros.github_free_space()|indent }}
       {{ macros.github_install_archery()|indent }}
+        - name: Retrieve VCPKG version from arrow/.env
+          run: |
+            vcpkg_version=$(cat "arrow/.env" | grep "VCPKG" | cut -d "=" -f2 | 
tr -d '"')
+            echo "VCPKG_VERSION=$vcpkg_version" >> $GITHUB_ENV
+
+        - name: Install Vcpkg
+          run: arrow/ci/scripts/install_vcpkg.sh $VCPKG_ROOT $VCPKG_VERSION
+
+        - name: Add Vcpkg to PATH
+          run: echo ${VCPKG_ROOT} >> $GITHUB_PATH
+
+        - name: Setup NuGet Credentials
+          env:
+            GITHUB_TOKEN: { { '${{ secrets.GITHUB_TOKEN }}' } }
+          run: |
+            mono $(vcpkg fetch nuget | tail -n 1) \
+              sources add \
+              -source 
"https://nuget.pkg.github.com/$GITHUB_REPOSITORY_OWNER/index.json"; \
+              -storepasswordincleartext \
+              -name "GitHub" \
+              -username "$GITHUB_REPOSITORY_OWNER" \
+              -password "$GITHUB_TOKEN" \
+            
+            mono $(vcpkg fetch nuget | tail -n 1) \
+              setapikey "$GITHUB_TOKEN" \
+              -source 
"https://nuget.pkg.github.com/$GITHUB_REPOSITORY_OWNER/index.json";
+
+        - name: Install Packages
+          run: |
+            vcpkg install \
+              --clean-after-build \
+              --x-install-root=${VCPKG_ROOT}/installed \
+              --x-manifest-root=arrow/ci/vcpkg \
+              --x-feature=azure \
+              --x-feature=flight \
+              --x-feature=gcs \
+              --x-feature=json \
+              --x-feature=parquet \
+              --x-feature=s3

Review Comment:
   ```suggestion
                 --x-feature=s3
   
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to