Skip to content

Commit b0bd45f

Browse files
committed
fix ci pipeline
1 parent eff3e39 commit b0bd45f

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/pip.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
# Secret Variables required in GitHub secrets: TWINE_USERNAME, TWINE_PASSWORD / TWINE_USERNAME_TEST, TWINE_PASSWORD_TEST
22

3-
name: build
3+
name: build-pip-publish
44

5-
# Controls when the action will run.
65
on:
7-
# Triggers the workflow on push or pull request events but only for the main branch
86
push:
97
branches: [ main ]
108
paths-ignore: [ "*.md" ]
@@ -26,7 +24,7 @@ jobs:
2624
steps:
2725
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2826
# sudo python setup.py install clean --all
29-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v4
3028

3129
- name: pip-install-test
3230
run: |
@@ -48,7 +46,7 @@ jobs:
4846
sudo python3 -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)"
4947
sudo python3 setup.py sdist bdist_wheel
5048
ls -alh ./dist
51-
if [ "${GITHUB_REPOSITORY}" = "QPod/aloha" ] && [ "${GITHUB_REF_NAME}" = "main" ] ; then
49+
if [ "${GITHUB_REPOSITORY}" = "QPod/aloha-python" ] && [ "${GITHUB_REF_NAME}" = "main" ] ; then
5250
twine upload dist/* --verbose -u "${TWINE_USERNAME}" -p "${TWINE_PASSWORD}" ;
5351
elif [ ! -z "${TWINE_USERNAME_TEST}" ]; then
5452
twine upload dist/* --verbose -u "${TWINE_USERNAME_TEST}" -p "${TWINE_PASSWORD_TEST}" \

0 commit comments

Comments
 (0)