This is an automated email from the ASF dual-hosted git repository.
altay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 615816d Add checksums
new c946886 Merge pull request #12233 from
TobKed/BEAM-10465-checksum-py-source-dist-wheels
615816d is described below
commit 615816d311a0e3400d6833d903aaaf766a8d0289
Author: Tobiasz Kędzierski <[email protected]>
AuthorDate: Wed Jul 8 14:13:08 2020 +0200
Add checksums
---
.github/workflows/build_wheels.yml | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/.github/workflows/build_wheels.yml
b/.github/workflows/build_wheels.yml
index befe95c..48980d6 100644
--- a/.github/workflows/build_wheels.yml
+++ b/.github/workflows/build_wheels.yml
@@ -53,6 +53,12 @@ jobs:
- name: Build source
working-directory: ./sdks/python
run: python setup.py sdist --formats=gztar,zip
+ - name: Add checksums
+ working-directory: ./sdks/python/dist
+ run: |
+ for file in *.zip *.tar.gz; do
+ sha512sum $file > ${file}.sha512
+ done
- name: Unzip source
working-directory: ./sdks/python
run: unzip dist/$(ls dist | grep .zip | head -n 1)
@@ -128,6 +134,15 @@ jobs:
CIBW_BEFORE_BUILD: pip install cython
run: cibuildwheel --print-build-identifiers && cibuildwheel --output-dir
wheelhouse
shell: bash
+ - name: install sha512sum on MacOS
+ if: startsWith(matrix.os, 'macos')
+ run: brew install coreutils
+ - name: Add checksums
+ working-directory: apache-beam-source/wheelhouse/
+ run: |
+ for file in *.whl; do
+ sha512sum $file > ${file}.sha512
+ done
- name: Upload wheels as artifacts
uses: actions/upload-artifact@v2
with: