We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24fd2b6 commit a3dbf9bCopy full SHA for a3dbf9b
.github/workflows/publish_pypi.yml
@@ -8,6 +8,7 @@ on:
8
jobs:
9
build_and_deploy:
10
runs-on: ubuntu-latest
11
+ if: github.repository == 'python-graphblas/graphblas-algorithms'
12
defaults:
13
run:
14
shell: bash -l {0}
@@ -21,11 +22,20 @@ jobs:
21
22
with:
23
python-version: "3.8"
24
- name: Install build dependencies
- run: python -m pip install setuptools wheel
25
- - name: Build wheel
26
- run: python setup.py sdist bdist_wheel
+ run: |
+ python -m pip install --upgrade pip
27
+ python -m pip install build twine
28
+ - name: Build wheel and sdist
29
+ run: python -m build --sdist --wheel
30
+ - uses: actions/upload-artifact@v3
31
+ with:
32
+ name: releases
33
+ path: dist
34
+ if-no-files-found: error
35
+ - name: Check with twine
36
+ run: python -m twine check --strict dist/*
37
- name: Publish to PyPI
- uses: pypa/gh-action-pypi-publish@master
38
+ uses: pypa/gh-action-pypi-publish@v1.6.4
39
40
user: __token__
41
password: ${{ secrets.PYPI_TOKEN }}
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments