Skip to content

Combine the two hashes only if the file names differ #16

Combine the two hashes only if the file names differ

Combine the two hashes only if the file names differ #16

Workflow file for this run

name: Publish
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+*"
permissions:
contents: read
jobs:
build:
uses: ./.github/workflows/step_build.yml
publish:
needs: [ build ]
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/jupytext
permissions:
contents: read
id-token: write
steps:
- name: Checkout source
uses: actions/checkout@v3
- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- name: Build package
run: |
python -m pip install wheel build
HATCH_BUILD_HOOKS_ENABLE=true python -m build
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1