aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/publish.yml
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-22 22:17:45 +0200
committerEgor Tensin <egor@tensin.name>2026-06-22 22:17:45 +0200
commit88a20a8b36ded8137c5bedb6851c3974926e68d0 (patch)
tree7e0c879c0ccc241e962d6ad69b72ce4ef5d2c8dc /.github/workflows/publish.yml
parentctest-driver.py: add a list of allowed exit codes (diff)
downloadcmake-common-6.1.1.tar.gz
cmake-common-6.1.1.zip
workflows/ci: the PyPI workflow cannot be reusablev6.1.1
Diffstat (limited to '.github/workflows/publish.yml')
-rw-r--r--.github/workflows/publish.yml37
1 files changed, 0 insertions, 37 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
deleted file mode 100644
index a27cf96..0000000
--- a/.github/workflows/publish.yml
+++ /dev/null
@@ -1,37 +0,0 @@
-name: Publish
-
-on:
- workflow_call:
- workflow_dispatch:
-
-jobs:
- publish:
- runs-on: ubuntu-latest
- name: Publish
- steps:
- - name: Checkout
- uses: actions/checkout@v6
- with:
- fetch-depth: 0
- - name: Set up Python
- uses: actions/setup-python@v6
- with:
- python-version: '3.x'
- - name: Verify package can be installed
- run: pip install -q .
- - name: Install package builder
- run: pip install -q --upgrade build
- - name: Build package
- run: python -m build
- - name: Publish as artifact
- uses: actions/upload-artifact@v7
- with:
- name: dist
- path: dist
- if-no-files-found: error
- - name: Publish to PyPI
- if: startsWith(github.ref, 'refs/tags/')
- uses: pypa/gh-action-pypi-publish@release/v1
- with:
- user: __token__
- password: '${{ secrets.PYPI_API_TOKEN }}'