Skip to content

Commit bfaa5bd

Browse files
authored
test -RC2
1 parent 182d7e8 commit bfaa5bd

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/build_wheels.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
OUTPUT=$( if grep -e '-RC.' -q temp; then echo 1; else echo 0; fi)
104104
echo "is_rc=$OUTPUT" >> $GITHUB_OUTPUT
105105
- name: Get RELEASE_VERSION and RC_NUM
106-
if: steps.is_rc.outputs.is_rc == 1
106+
# if: steps.is_rc.outputs.is_rc == 1
107107
id: get_rc_version
108108
run: |
109109
RC_NUM=$(sed -n "s/^.*-RC\([0-9]*\)/\1/p" temp)
@@ -137,45 +137,45 @@ jobs:
137137
name: source_zip
138138
path: sdks/python/dist
139139
- name: Clear dist
140-
if: steps.is_rc.outputs.is_rc == 1
140+
# if: steps.is_rc.outputs.is_rc == 1
141141
working-directory: ./sdks/python
142142
run: |
143143
rm -r ./dist
144144
rm -rd apache-beam-source
145145
- name: Rewrite SDK version to include RC number
146-
if: steps.is_rc.outputs.is_rc == 1
146+
# if: steps.is_rc.outputs.is_rc == 1
147147
working-directory: ./sdks/python
148148
run: |
149149
RELEASE_VERSION=${{ steps.get_rc_version.outputs.RELEASE_VERSION }}
150150
RC_NUM=${{ steps.get_rc_version.outputs.RC_NUM }}
151151
sed -i -e "s/${RELEASE_VERSION}/${RELEASE_VERSION}rc${RC_NUM}/g" apache_beam/version.py
152152
- name: Build RC source
153-
if: steps.is_rc.outputs.is_rc == 1
153+
# if: steps.is_rc.outputs.is_rc == 1
154154
working-directory: ./sdks/python
155155
run: pip install -U build && python -m build --sdist
156156
- name: Add RC checksums
157-
if: steps.is_rc.outputs.is_rc == 1
157+
# if: steps.is_rc.outputs.is_rc == 1
158158
working-directory: ./sdks/python/dist
159159
run: |
160160
file=$(ls | grep .tar.gz | head -n 1)
161161
sha512sum $file > ${file}.sha512
162162
- name: Unzip RC source
163-
if: steps.is_rc.outputs.is_rc == 1
163+
# if: steps.is_rc.outputs.is_rc == 1
164164
working-directory: ./sdks/python
165165
run: tar -xzvf dist/$(ls dist | grep .tar.gz | head -n 1)
166166
- name: Rename RC source directory
167-
if: steps.is_rc.outputs.is_rc == 1
167+
# if: steps.is_rc.outputs.is_rc == 1
168168
working-directory: ./sdks/python
169169
run: mv $(ls | grep apache-beam) apache-beam-source-rc
170170
- name: Upload RC source as artifact
171-
if: steps.is_rc.outputs.is_rc == 1
171+
# if: steps.is_rc.outputs.is_rc == 1
172172
# Pinned to v3 because of https://github.com/actions/download-artifact/issues/249
173173
uses: actions/upload-artifact@v3
174174
with:
175175
name: source_rc${{ steps.get_rc_version.outputs.RC_NUM }}
176176
path: sdks/python/apache-beam-source-rc
177177
- name: Upload compressed RC sources as artifacts
178-
if: steps.is_rc.outputs.is_rc == 1
178+
# if: steps.is_rc.outputs.is_rc == 1
179179
# Pinned to v3 because of https://github.com/actions/download-artifact/issues/249
180180
uses: actions/upload-artifact@v3
181181
with:
@@ -291,7 +291,7 @@ jobs:
291291
name: wheelhouse-${{ matrix.os_python.os }}${{ (matrix.arch == 'aarch64' && '-aarch64') || '' }}
292292
path: apache-beam-source/wheelhouse/
293293
- name: Build RC wheels
294-
if: ${{ needs.build_source.outputs.is_rc == 1 }}
294+
# if: ${{ needs.build_source.outputs.is_rc == 1 }}
295295
working-directory: apache-beam-source-rc
296296
env:
297297
CIBW_BUILD: ${{ matrix.os_python.python }}
@@ -302,15 +302,15 @@ jobs:
302302
run: cibuildwheel --print-build-identifiers && cibuildwheel --output-dir wheelhouse
303303
shell: bash
304304
- name: Add RC checksums
305-
if: ${{ needs.build_source.outputs.is_rc == 1 }}
305+
# if: ${{ needs.build_source.outputs.is_rc == 1 }}
306306
working-directory: apache-beam-source-rc/wheelhouse/
307307
run: |
308308
for file in *.whl; do
309309
sha512sum $file > ${file}.sha512
310310
done
311311
shell: bash
312312
- name: Upload RC wheels as artifacts
313-
if: ${{ needs.build_source.outputs.is_rc == 1 }}
313+
# if: ${{ needs.build_source.outputs.is_rc == 1 }}
314314
# Pinned to v3 because of https://github.com/actions/download-artifact/issues/249
315315
uses: actions/upload-artifact@v3
316316
with:

0 commit comments

Comments
 (0)