Skip to content

Commit 4be7bf1

Browse files
authored
[GLUTEN-7741][VL] Fix deprecated actions/upload-artifact version issue when building bundle package (#8017)
V2 is deprecated: This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v2`. Learn more: https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/
1 parent bcb768b commit 4be7bf1

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/build_bundle_package.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ jobs:
5454
cd $GITHUB_WORKSPACE/
5555
bash dev/ci-velox-buildstatic-centos-7.sh
5656
- name: Upload native libs
57-
uses: actions/upload-artifact@v2
57+
uses: actions/upload-artifact@v3
5858
with:
5959
path: ./cpp/build/releases/
6060
name: velox-native-lib-${{github.sha}}
6161
retention-days: 1
6262
- name: Upload Artifact Arrow Jar
63-
uses: actions/upload-artifact@v2
63+
uses: actions/upload-artifact@v3
6464
with:
6565
path: /root/.m2/repository/org/apache/arrow/
6666
name: velox-arrow-jar-centos-7-${{github.sha}}
@@ -72,17 +72,19 @@ jobs:
7272
steps:
7373
- uses: actions/checkout@v2
7474
- name: Download All Artifacts
75-
uses: actions/download-artifact@v2
75+
uses: actions/download-artifact@v3
7676
with:
7777
name: velox-native-lib-${{github.sha}}
7878
path: ./cpp/build/releases
7979
- name: Download All Arrow Jar Artifacts
80-
uses: actions/download-artifact@v2
80+
uses: actions/download-artifact@v3
8181
with:
8282
name: velox-arrow-jar-centos-7-${{github.sha}}
8383
path: /root/.m2/repository/org/apache/arrow/
8484
- name: Setup java and maven
8585
run: |
86+
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* && \
87+
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* && \
8688
yum update -y && yum install -y java-1.8.0-openjdk-devel wget && \
8789
wget https://downloads.apache.org/maven/maven-3/3.8.8/binaries/apache-maven-3.8.8-bin.tar.gz && \
8890
tar -xvf apache-maven-3.8.8-bin.tar.gz && \
@@ -94,7 +96,7 @@ jobs:
9496
export PATH=${PATH}:${MAVEN_HOME}/bin && \
9597
mvn clean install -P${{ github.event.inputs.spark }} -Dhadoop.version=${{ github.event.inputs.hadoop }} -Pbackends-velox -Pceleborn -Puniffle -DskipTests -Dmaven.source.skip
9698
- name: Upload bundle package
97-
uses: actions/upload-artifact@v2
99+
uses: actions/upload-artifact@v3
98100
with:
99101
name: gluten-velox-bundle-package
100102
path: package/target/gluten-velox-bundle-*.jar

0 commit comments

Comments
 (0)