FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[pre-commit.ci] pre-commit autoupdate · pythonworkflow/python-workflow-definition@fbf04e3 · GitHub

[pre-commit.ci] pre-commit autoupdate #724

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #724

Workflow file for this run

This file contains hidden or 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: Pypi
on:
push:
pull_request:
workflow_dispatch:
jobs:
release:
if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/python_workflow_definition
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Conda config
run: echo -e "channels:\n - conda-forge\n" > .condarc
- uses: conda-incubator/setup-miniconda@v3
with:
python-version: "3.12"
miniforge-version: latest
condarc-file: .condarc
environment-file: binder/environment.yml
- name: Build
shell: bash -l {0}
run: |
git update-index --assume-unchanged src/python_workflow_definition/_version.py
hatchling build -t sdist -t wheel
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

Back | FazBrowse Home | New Git URL