Skip to content

Commit 2cb73ff

Browse files
authored
cicd: fix publishing step (#439)
There is bug pypa/gh-action-pypi-publish#166 that does not allow to publish from reusable workflows, this is workaround for it.
1 parent 701f89d commit 2cb73ff

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/lib-build-and-push.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,14 @@ jobs:
152152
153153
- name: Build wheels
154154
if: matrix.target != 'linux-aarch64'
155+
shell: bash
155156
run: |
156-
python3 -m cibuildwheel --output-dir wheelhouse
157+
GITHUB_WORKFLOW_REF="scylladb/python-driver/.github/workflows/lib-build-and-push.yml@refs/heads/master" python3 -m cibuildwheel --output-dir wheelhouse
157158
158159
- name: Build wheels for linux aarch64
159160
if: matrix.target == 'linux-aarch64'
160161
run: |
161-
CIBW_BUILD='cp3*' python -m cibuildwheel --archs aarch64 --output-dir wheelhouse
162+
GITHUB_WORKFLOW_REF="scylladb/python-driver/.github/workflows/lib-build-and-push.yml@refs/heads/master" CIBW_BUILD="cp3*" python -m cibuildwheel --archs aarch64 --output-dir wheelhouse
162163
163164
- uses: actions/upload-artifact@v4
164165
with:

0 commit comments

Comments
 (0)