You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by da...@apache.org on 2024/01/09 17:41:18 UTC
(beam) 01/01: Downgrade artifact version in build_wheels
This is an automated email from the ASF dual-hosted git repository.
damccorm pushed a commit to branch users/damccorm/artifact
in repository https://gitbox.apache.org/repos/asf/beam.git
commit 356a228b5d51d0d1f45386daaab1ea4b2bc7f071
Author: Danny McCormick <da...@google.com>
AuthorDate: Tue Jan 9 12:41:12 2024 -0500
Downgrade artifact version in build_wheels
---
.github/workflows/build_wheels.yml | 30 ++++++++++++++++++++----------
1 file changed, 20 insertions(+), 10 deletions(-)
diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml
index 82924c3abcb..cf703b2a643 100644
--- a/.github/workflows/build_wheels.yml
+++ b/.github/workflows/build_wheels.yml
@@ -125,12 +125,14 @@ jobs:
working-directory: ./sdks/python
run: mv $(ls | grep apache-beam) apache-beam-source
- name: Upload source as artifact
- uses: actions/upload-artifact@v4
+ # Pinned to v3 because of https://github.com/actions/download-artifact/issues/249
+ uses: actions/upload-artifact@v3
with:
name: source
path: sdks/python/apache-beam-source
- name: Upload compressed sources as artifacts
- uses: actions/upload-artifact@v4
+ # Pinned to v3 because of https://github.com/actions/download-artifact/issues/249
+ uses: actions/upload-artifact@v3
with:
name: source_zip
path: sdks/python/dist
@@ -167,13 +169,15 @@ jobs:
run: mv $(ls | grep apache-beam) apache-beam-source-rc
- name: Upload RC source as artifact
if: steps.is_rc.outputs.is_rc == 1
- uses: actions/upload-artifact@v4
+ # Pinned to v3 because of https://github.com/actions/download-artifact/issues/249
+ uses: actions/upload-artifact@v3
with:
name: source_rc${{ steps.get_rc_version.outputs.RC_NUM }}
path: sdks/python/apache-beam-source-rc
- name: Upload compressed RC sources as artifacts
if: steps.is_rc.outputs.is_rc == 1
- uses: actions/upload-artifact@v4
+ # Pinned to v3 because of https://github.com/actions/download-artifact/issues/249
+ uses: actions/upload-artifact@v3
with:
name: source_zip_rc${{ steps.get_rc_version.outputs.RC_NUM }}
path: sdks/python/dist
@@ -204,7 +208,8 @@ jobs:
if: needs.check_env_variables.outputs.gcp-variables-set == 'true'
steps:
- name: Download compressed sources from artifacts
- uses: actions/download-artifact@v4
+ # Pinned to v3 because of https://github.com/actions/download-artifact/issues/249
+ uses: actions/download-artifact@v3
with:
name: source_zip
path: source/
@@ -237,13 +242,15 @@ jobs:
arch: aarch64
steps:
- name: Download python source distribution from artifacts
- uses: actions/download-artifact@v4
+ # Pinned to v3 because of https://github.com/actions/download-artifact/issues/249
+ uses: actions/download-artifact@v3
with:
name: source
path: apache-beam-source
- name: Download Python SDK RC source distribution from artifacts
if: ${{ needs.build_source.outputs.is_rc == 1 }}
- uses: actions/download-artifact@v4
+ # Pinned to v3 because of https://github.com/actions/download-artifact/issues/249
+ uses: actions/download-artifact@v3
with:
name: source_rc${{ needs.build_source.outputs.rc_num }}
path: apache-beam-source-rc
@@ -278,7 +285,8 @@ jobs:
done
shell: bash
- name: Upload wheels as artifacts
- uses: actions/upload-artifact@v4
+ # Pinned to v3 because of https://github.com/actions/download-artifact/issues/249
+ uses: actions/upload-artifact@v3
with:
name: wheelhouse-${{ matrix.os_python.os }}${{ (matrix.arch == 'aarch64' && '-aarch64') || '' }}
path: apache-beam-source/wheelhouse/
@@ -303,7 +311,8 @@ jobs:
shell: bash
- name: Upload RC wheels as artifacts
if: ${{ needs.build_source.outputs.is_rc == 1 }}
- uses: actions/upload-artifact@v4
+ # Pinned to v3 because of https://github.com/actions/download-artifact/issues/249
+ uses: actions/upload-artifact@v3
with:
name: wheelhouse-rc${{ needs.build_source.outputs.rc_num }}-${{ matrix.os_python.os }}${{ (matrix.arch == 'aarch64' && '-aarch64') || '' }}
path: apache-beam-source-rc/wheelhouse/
@@ -324,7 +333,8 @@ jobs:
arch: aarch64
steps:
- name: Download wheels from artifacts
- uses: actions/download-artifact@v4
+ # Pinned to v3 because of https://github.com/actions/download-artifact/issues/249
+ uses: actions/download-artifact@v3
with:
name: wheelhouse-${{ matrix.os }}${{ (matrix.arch == 'aarch64' && '-aarch64') || '' }}
path: wheelhouse/