Skip to content

Commit eddc05b

Browse files
committed
A few modification so this can be merged, since this can't be tested until it's merged. First, upload on every push and second, only publish to TestPyPI. Once everything is working, we can enable it as intended
1 parent 4cc31a2 commit eddc05b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
needs: [build_wheels, build_sdist]
4747
runs-on: ubuntu-latest
4848
# upload to PyPI on every tag starting with 'v'
49-
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
49+
if: github.event_name == 'push' # && startsWith(github.event.ref, 'refs/tags/v')
5050
# alternatively, to publish when a GitHub Release is created, use the following rule:
5151
# if: github.event_name == 'release' && github.event.action == 'published'
5252
steps:
@@ -58,5 +58,5 @@ jobs:
5858
- uses: pypa/[email protected]
5959
with:
6060
user: __token__
61-
password: ${{ secrets.pypi_password }}
62-
# To test: repository_url: https://test.pypi.org/legacy/
61+
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
62+
repository_url: https://test.pypi.org/legacy/

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ before-all = """
1515
apt-get install --yes wget || yum install -y wget
1616
wget https://raw.githubusercontent.com/coin-or/coinbrew/master/coinbrew
1717
chmod +x coinbrew
18-
./coinbrew build [email protected] --no-third-party --parallel-jobs 16 --prefix=/usr/local --verbosity 4 || echo ignoring errors
18+
./coinbrew build [email protected].7 --no-third-party --parallel-jobs 16 --prefix=/usr/local --verbosity 4 || echo ignoring errors
1919
"""

0 commit comments

Comments
 (0)