felipepessoto commented on code in PR #12820:
URL: https://github.com/apache/gluten/pull/12820#discussion_r3815003179
##########
.github/workflows/delta_spark_ut.yml:
##########
@@ -313,27 +328,31 @@ jobs:
# tests may need. We deliberately do NOT install the full `curl`
# package -- it conflicts with the pre-installed curl-minimal.
yum install -y java-17-openjdk-devel which findutils gzip python3
+ case "$(uname -m)" in
+ x86_64) ARCH=amd64 ;;
+ aarch64) ARCH=arm64 ;;
+ *) echo "unsupported arch: $(uname -m)" >&2; exit 1 ;;
+ esac
+ curl -fsSL
"https://github.com/cli/cli/releases/download/v2.63.2/gh_2.63.2_linux_${ARCH}.tar.gz"
\
+ | tar -xz -C /usr/local --strip-components=1
"gh_2.63.2_linux_${ARCH}/bin/gh"
+ curl -fsSL -o /usr/local/bin/jq
"https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-linux-${ARCH}"
+ chmod +x /usr/local/bin/jq
export JAVA_HOME=/usr/lib/jvm/java-17-openjdk
export PATH=$JAVA_HOME/bin:$PATH
java -version
git --version
curl --version | head -n 1
+ python3 --version
+ gh --version
+ jq --version
- - name: Cache sbt / Ivy / Coursier
- uses: actions/cache@v4
+ - name: Get sbt / Ivy / Coursier from Apache Stash
+ uses:
apache/infrastructure-actions/stash/restore@0ba14156c9f4c3cfbe4b0c9f36339ab0f8d81e53
with:
- path: |
- /root/.sbt
- /root/.ivy2
- /root/.cache/coursier
- # Intentionally NOT keyed by ${{ matrix.shard }} -- all shards share
- # the same dependency tree, so a single shared cache (with parallel
- # save races resolved by GH on a first-write-wins basis) gives the
- # best storage / hit-rate tradeoff.
+ # Stash restore accepts one destination. The save step preserves the
+ # three selected cache paths relative to their common /root
directory.
Review Comment:
Incorrect. upload-artifact uses the least common ancestor ( /root ) for
multiple absolute paths, exactly matching the restore destination.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]