Skip to content

Bump version: 2.6.0 → 2.7.0 #5

Bump version: 2.6.0 → 2.7.0

Bump version: 2.6.0 → 2.7.0 #5

Workflow file for this run

name: Publish
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
concurrency:
group: ${{github.workflow}}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: "3.13"
- run: |
python -m pip install --upgrade pip
pip install --upgrade build twine
python -m build
twine check dist/*
- uses: actions/upload-artifact@v6
with:
name: packages
path: dist/
if-no-files-found: error
compression-level: 0
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
environment:
name: pypi
url: https://pypi.org/p/scrapinghub
steps:
- uses: actions/download-artifact@v7
with:
name: packages
path: dist/
- uses: pypa/gh-action-pypi-publish@release/v1
with:
print-hash: true
verbose: true