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

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


The following commit(s) were added to refs/heads/main by this push:
     new 47397a9c9 ci: bump `actions/{upload-download}-artifact` to `v4` (#1767)
47397a9c9 is described below

commit 47397a9c919b77de177f8d129fe80ba795ef561b
Author: Matthijs Brobbel <[email protected]>
AuthorDate: Thu Apr 25 10:57:12 2024 +0200

    ci: bump `actions/{upload-download}-artifact` to `v4` (#1767)
    
    Closes #1765.
---
 .github/workflows/native-unix.yml     | 14 +++++-----
 .github/workflows/native-windows.yml  | 39 ++++++++++------------------
 .github/workflows/nightly-verify.yml  | 10 ++++----
 .github/workflows/nightly-website.yml |  8 +++---
 .github/workflows/packaging.yml       | 48 +++++++++++++++++------------------
 5 files changed, 54 insertions(+), 65 deletions(-)

diff --git a/.github/workflows/native-unix.yml 
b/.github/workflows/native-unix.yml
index 8b885bc5b..217777581 100644
--- a/.github/workflows/native-unix.yml
+++ b/.github/workflows/native-unix.yml
@@ -131,7 +131,7 @@ jobs:
           export PATH=$RUNNER_TOOL_CACHE/go/${GO_VERSION}/${{ matrix.goarch 
}}/bin:$PATH
           ./ci/scripts/go_build.sh "$(pwd)" "$(pwd)/build" "$HOME/local"
 
-      - uses: actions/upload-artifact@v3
+      - uses: actions/upload-artifact@v4
         with:
           name: driver-manager-${{ matrix.os }}
           retention-days: 3
@@ -292,7 +292,7 @@ jobs:
         run: |
           sudo sysctl vm.mmap_rnd_bits=28
 
-      - uses: actions/download-artifact@v3
+      - uses: actions/download-artifact@v4
         with:
           name: driver-manager-${{ matrix.os }}
           path: ~/local
@@ -324,7 +324,7 @@ jobs:
           persist-credentials: false
       - uses: actions/setup-go@v5
         with:
-          go-version-file: 'go/adbc/go.mod'
+          go-version-file: "go/adbc/go.mod"
           check-latest: true
           cache: true
           cache-dependency-path: go/adbc/go.sum
@@ -414,7 +414,7 @@ jobs:
         if: matrix.os == 'ubuntu-latest'
         run: go install honnef.co/go/tools/cmd/staticcheck@latest
 
-      - uses: actions/download-artifact@v3
+      - uses: actions/download-artifact@v4
         with:
           name: driver-manager-${{ matrix.os }}
           path: ~/local
@@ -498,7 +498,7 @@ jobs:
           cache: true
           cache-dependency-path: go/adbc/go.sum
 
-      - uses: actions/download-artifact@v3
+      - uses: actions/download-artifact@v4
         with:
           name: driver-manager-${{ matrix.os }}
           path: ~/local
@@ -608,7 +608,7 @@ jobs:
         if: matrix.os == 'ubuntu-latest'
         run: |
           sudo sysctl vm.mmap_rnd_bits=28
-      - uses: actions/download-artifact@v3
+      - uses: actions/download-artifact@v4
         with:
           name: driver-manager-${{ matrix.os }}
           path: ~/local
@@ -627,7 +627,7 @@ jobs:
         run: |
           ./ci/scripts/docs_build.sh "$(pwd)"
       - name: Archive docs
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: docs
           retention-days: 2
diff --git a/.github/workflows/native-windows.yml 
b/.github/workflows/native-windows.yml
index 097f316d0..5f0964d02 100644
--- a/.github/workflows/native-windows.yml
+++ b/.github/workflows/native-windows.yml
@@ -99,7 +99,7 @@ jobs:
         run: |
           .\ci\scripts\cpp_build.ps1 $pwd ${{ github.workspace }}\build
 
-      - uses: actions/upload-artifact@v3
+      - uses: actions/upload-artifact@v4
         with:
           name: driver-manager-${{ matrix.os }}
           retention-days: 3
@@ -151,36 +151,31 @@ jobs:
         env:
           BUILD_ALL: "0"
           BUILD_DRIVER_MANAGER: "1"
-        run:
-          .\ci\scripts\cpp_build.ps1 $pwd $pwd\build
+        run: .\ci\scripts\cpp_build.ps1 $pwd $pwd\build
       - name: Build Driver PostgreSQL
         shell: pwsh
         env:
           BUILD_ALL: "0"
           BUILD_DRIVER_POSTGRESQL: "1"
-        run:
-          .\ci\scripts\cpp_build.ps1 $pwd $pwd\build
+        run: .\ci\scripts\cpp_build.ps1 $pwd $pwd\build
       - name: Build Driver SQLite
         shell: pwsh
         env:
           BUILD_ALL: "0"
           BUILD_DRIVER_SQLITE: "1"
-        run:
-          .\ci\scripts\cpp_build.ps1 $pwd $pwd\build
+        run: .\ci\scripts\cpp_build.ps1 $pwd $pwd\build
       - name: Test Driver Manager
         shell: pwsh
         env:
           BUILD_ALL: "0"
           BUILD_DRIVER_MANAGER: "1"
-        run:
-          .\ci\scripts\cpp_test.ps1 $pwd\build
+        run: .\ci\scripts\cpp_test.ps1 $pwd\build
       - name: Test Driver SQLite
         shell: pwsh
         env:
           BUILD_ALL: "0"
           BUILD_DRIVER_SQLITE: "1"
-        run:
-          .\ci\scripts\cpp_test.ps1 $pwd\build
+        run: .\ci\scripts\cpp_test.ps1 $pwd\build
 
   # ------------------------------------------------------------
   # Go build
@@ -232,7 +227,7 @@ jobs:
           cache: true
           cache-dependency-path: go/adbc/go.sum
 
-      - uses: actions/download-artifact@v3
+      - uses: actions/download-artifact@v4
         with:
           name: driver-manager-${{ matrix.os }}
           path: ${{ github.workspace }}/build
@@ -296,7 +291,7 @@ jobs:
             --file ci/conda_env_cpp.txt \
             --file ci/conda_env_python.txt
 
-      - uses: actions/download-artifact@v3
+      - uses: actions/download-artifact@v4
         with:
           name: driver-manager-${{ matrix.os }}
           path: ${{ github.workspace }}/build
@@ -306,40 +301,34 @@ jobs:
         env:
           BUILD_ALL: "0"
           BUILD_DRIVER_MANAGER: "1"
-        run:
-          .\ci\scripts\python_build.ps1 $pwd $pwd\build
+        run: .\ci\scripts\python_build.ps1 $pwd $pwd\build
       - name: Build Python Driver PostgreSQL
         shell: pwsh
         env:
           BUILD_ALL: "0"
           BUILD_DRIVER_POSTGRESQL: "1"
-        run:
-          .\ci\scripts\python_build.ps1 $pwd $pwd\build
+        run: .\ci\scripts\python_build.ps1 $pwd $pwd\build
       - name: Build Python Driver SQLite
         shell: pwsh
         env:
           BUILD_ALL: "0"
           BUILD_DRIVER_SQLITE: "1"
-        run:
-          .\ci\scripts\python_build.ps1 $pwd $pwd\build
+        run: .\ci\scripts\python_build.ps1 $pwd $pwd\build
       - name: Test Python Driver Manager
         shell: pwsh
         env:
           BUILD_ALL: "0"
           BUILD_DRIVER_MANAGER: "1"
-        run:
-          .\ci\scripts\python_test.ps1 $pwd $pwd\build
+        run: .\ci\scripts\python_test.ps1 $pwd $pwd\build
       - name: Test Python Driver PostgreSQL
         shell: pwsh
         env:
           BUILD_ALL: "0"
           BUILD_DRIVER_POSTGRESQL: "1"
-        run:
-          .\ci\scripts\python_test.ps1 $pwd $pwd\build
+        run: .\ci\scripts\python_test.ps1 $pwd $pwd\build
       - name: Test Python Driver SQLite
         shell: pwsh
         env:
           BUILD_ALL: "0"
           BUILD_DRIVER_SQLITE: "1"
-        run:
-          .\ci\scripts\python_test.ps1 $pwd $pwd\build
+        run: .\ci\scripts\python_test.ps1 $pwd $pwd\build
diff --git a/.github/workflows/nightly-verify.yml 
b/.github/workflows/nightly-verify.yml
index e3a3be750..dfbd3f8bf 100644
--- a/.github/workflows/nightly-verify.yml
+++ b/.github/workflows/nightly-verify.yml
@@ -22,9 +22,9 @@ on:
     branches:
       - main
     paths:
-      - '.github/workflows/nightly-verify.yml'
-      - 'dev/release/verify-release-candidate.sh'
-      - 'dev/release/verify-release-candidate.ps1'
+      - ".github/workflows/nightly-verify.yml"
+      - "dev/release/verify-release-candidate.sh"
+      - "dev/release/verify-release-candidate.ps1"
   schedule:
     - cron: "0 0 * * *"
   workflow_dispatch: {}
@@ -91,7 +91,7 @@ jobs:
           shasum --algorithm 512 \
             apache-arrow-adbc-${VERSION}.tar.gz > 
apache-arrow-adbc-${VERSION}.tar.gz.sha512
 
-      - uses: actions/upload-artifact@v3
+      - uses: actions/upload-artifact@v4
         with:
           name: source
           retention-days: 7
@@ -124,7 +124,7 @@ jobs:
                       grep -E -o '[0-9]+\.[0-9]+\.[0-9]+')
           echo "VERSION=${VERSION}" >> $GITHUB_ENV
 
-      - uses: actions/download-artifact@v3
+      - uses: actions/download-artifact@v4
         with:
           name: source
           path: ${{ github.workspace }}/apache-arrow-adbc-${{ env.VERSION 
}}-rc0/
diff --git a/.github/workflows/nightly-website.yml 
b/.github/workflows/nightly-website.yml
index 9ddf3a644..0cf28a7b5 100644
--- a/.github/workflows/nightly-website.yml
+++ b/.github/workflows/nightly-website.yml
@@ -22,8 +22,8 @@ on:
     branches:
       - main
     tags:
-      - 'apache-arrow-adbc-*'
-      - '!apache-arrow-adbc-*-rc*'
+      - "apache-arrow-adbc-*"
+      - "!apache-arrow-adbc-*-rc*"
   workflow_dispatch: {}
 
 # Ensure concurrent builds don't stomp on each other
@@ -45,7 +45,7 @@ jobs:
         run: |
           docker compose run docs
       - name: Archive docs
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: docs
           retention-days: 2
@@ -70,7 +70,7 @@ jobs:
           path: scripts
           persist-credentials: false
       - name: Download docs
-        uses: actions/download-artifact@v3
+        uses: actions/download-artifact@v4
         with:
           name: docs
           path: temp
diff --git a/.github/workflows/packaging.yml b/.github/workflows/packaging.yml
index dde1dc78a..3de38eea8 100644
--- a/.github/workflows/packaging.yml
+++ b/.github/workflows/packaging.yml
@@ -113,7 +113,7 @@ jobs:
             apache-arrow-adbc-${{ steps.version.outputs.VERSION }} \
             $(git log -n 1 --format=%h)
 
-      - uses: actions/upload-artifact@v3
+      - uses: actions/upload-artifact@v4
         with:
           name: source
           retention-days: 7
@@ -126,7 +126,7 @@ jobs:
     needs:
       - source
     steps:
-      - uses: actions/download-artifact@v3
+      - uses: actions/download-artifact@v4
         with:
           name: source
 
@@ -153,7 +153,7 @@ jobs:
           popd
 
       - name: Archive nupkg
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: csharp
           retention-days: 7
@@ -167,7 +167,7 @@ jobs:
     needs:
       - source
     steps:
-      - uses: actions/download-artifact@v3
+      - uses: actions/download-artifact@v4
         with:
           name: source
 
@@ -204,7 +204,7 @@ jobs:
           popd
 
       - name: Archive docs
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: docs
           retention-days: 2
@@ -217,7 +217,7 @@ jobs:
     needs:
       - source
     steps:
-      - uses: actions/download-artifact@v3
+      - uses: actions/download-artifact@v4
         with:
           name: source
 
@@ -245,7 +245,7 @@ jobs:
           cp -a adbc/dist/ ./
 
       - name: Archive JARs
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: java
           retention-days: 7
@@ -267,7 +267,7 @@ jobs:
           - debian-bookworm
           - ubuntu-jammy
     steps:
-      - uses: actions/download-artifact@v3
+      - uses: actions/download-artifact@v4
         with:
           name: source
 
@@ -342,7 +342,7 @@ jobs:
           tar czf ${{ matrix.target }}.tar.gz ${DISTRIBUTION}
 
       - name: Upload artifacts
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: ${{ matrix.target }}
           retention-days: 7
@@ -396,7 +396,7 @@ jobs:
         # TODO: "linux_aarch64_"
         arch: ["linux_64_"]
     steps:
-      - uses: actions/download-artifact@v3
+      - uses: actions/download-artifact@v4
         with:
           name: source
 
@@ -429,7 +429,7 @@ jobs:
           popd
 
       - name: Archive Conda packages
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: python-${{ matrix.arch }}-conda
           retention-days: 7
@@ -463,7 +463,7 @@ jobs:
       run:
         shell: bash -l {0}
     steps:
-      - uses: actions/download-artifact@v3
+      - uses: actions/download-artifact@v4
         with:
           name: source
 
@@ -505,7 +505,7 @@ jobs:
           ./adbc/ci/scripts/python_conda_build.sh $(pwd)/adbc 
${ARCH_CONDA_FORGE}.yaml $(pwd)/adbc/build
 
       - name: Archive Conda packages
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: python-${{ matrix.arch }}-conda
           retention-days: 7
@@ -536,7 +536,7 @@ jobs:
           - arch: arm64v8
             is_pr: true
     steps:
-      - uses: actions/download-artifact@v3
+      - uses: actions/download-artifact@v4
         with:
           name: source
 
@@ -573,7 +573,7 @@ jobs:
           popd
 
       - name: Archive wheels
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: python-${{ matrix.arch }}-manylinux${{ 
matrix.manylinux_version }}
           retention-days: 7
@@ -644,7 +644,7 @@ jobs:
       # Where to install vcpkg
       VCPKG_ROOT: "${{ github.workspace }}/vcpkg"
     steps:
-      - uses: actions/download-artifact@v3
+      - uses: actions/download-artifact@v4
         with:
           name: source
 
@@ -717,7 +717,7 @@ jobs:
           popd
 
       - name: Archive wheels
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: python-${{ matrix.arch }}-macos
           retention-days: 7
@@ -794,7 +794,7 @@ jobs:
       # Where to install vcpkg
       VCPKG_ROOT: "${{ github.workspace }}\\vcpkg"
     steps:
-      - uses: actions/download-artifact@v3
+      - uses: actions/download-artifact@v4
         with:
           name: source
 
@@ -865,7 +865,7 @@ jobs:
           popd
 
       - name: Archive wheels
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: python${{ matrix.python_version }}-windows
           retention-days: 7
@@ -893,7 +893,7 @@ jobs:
     needs:
       - source
     steps:
-      - uses: actions/download-artifact@v3
+      - uses: actions/download-artifact@v4
         with:
           name: source
 
@@ -924,7 +924,7 @@ jobs:
           popd
 
       - name: Archive sdist
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: python-sdist
           retention-days: 7
@@ -957,7 +957,7 @@ jobs:
       - python-sdist
     steps:
       - name: Get All Artifacts
-        uses: actions/download-artifact@v3
+        uses: actions/download-artifact@v4
         with:
           path: release-artifacts
       - name: Release
@@ -1016,7 +1016,7 @@ jobs:
           persist-credentials: true
           submodules: recursive
       - name: Get All Artifacts
-        uses: actions/download-artifact@v3
+        uses: actions/download-artifact@v4
         with:
           path: conda-packages
       - uses: conda-incubator/setup-miniconda@v3
@@ -1060,7 +1060,7 @@ jobs:
           persist-credentials: true
           submodules: recursive
       - name: Get All Artifacts
-        uses: actions/download-artifact@v3
+        uses: actions/download-artifact@v4
         with:
           path: nightly-artifacts
       - name: Upload

Reply via email to