Skip to content

Bump codecov/codecov-action from 3 to 4 #25

Bump codecov/codecov-action from 3 to 4

Bump codecov/codecov-action from 3 to 4 #25

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
name: build and deploy to PyPI
runs-on: "ubuntu-latest"
permissions:
id-token: write
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install build dependencies
run: python -m pip install build wheel
- name: Build distributions
shell: bash -l {0}
run: |
git clean -xdf
pyproject-build
- name: Publish package to PyPI
if: github.repository == 'dougiesquire/xbootstrap' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1