Combine the two hashes only if the file names differ #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |