From afc2e6361de4b6896bfc112d733d6fe919538fcb Mon Sep 17 00:00:00 2001 From: jstzwj <1103870790@qq.com> Date: Sun, 30 Jun 2024 17:52:14 +0800 Subject: [PATCH] update workflow --- .github/workflows/dev.yml | 11 ++++++----- .github/workflows/release.yml | 11 ++++++----- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index ffef73b..63947ae 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -16,11 +16,12 @@ jobs: uses: actions/checkout@v4 - name: Set up Apache Arrow run: | - wget https://dist.apache.org/repos/dist/dev/arrow/KEYS - apt-key add < KEYS - DISTRO=$(lsb_release --codename --short) - add-apt-repository "deb [arch=amd64] http://dl.bintray.com/apache/arrow/ubuntu $DISTRO main" - apt-get install libarrow-dev libparquet-dev + sudo apt update + sudo apt install -y -V ca-certificates lsb-release wget + wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb + sudo apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb + sudo apt update + sudo apt install -y -V libarrow-dev libarrow-glib-dev libparquet-dev libparquet-glib-dev - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3392b73..e631b79 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,11 +17,12 @@ jobs: uses: actions/checkout@v4 - name: Set up Apache Arrow run: | - wget https://dist.apache.org/repos/dist/dev/arrow/KEYS - apt-key add < KEYS - DISTRO=$(lsb_release --codename --short) - add-apt-repository "deb [arch=amd64] http://dl.bintray.com/apache/arrow/ubuntu $DISTRO main" - apt-get install libarrow-dev libparquet-dev + sudo apt update + sudo apt install -y -V ca-certificates lsb-release wget + wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb + sudo apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb + sudo apt update + sudo apt install -y -V libarrow-dev libarrow-glib-dev libparquet-dev libparquet-glib-dev - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: