Skip to content

update release action #7

update release action

update release action #7

Workflow file for this run

name: Release
on:
push:
tags:
- '*'
defaults:
run:
shell: bash -l {0}
jobs:
release:
if: github.repository == 'jmoralez/window_ops'
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Clone repo
uses: actions/checkout@v3
- name: Set up python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install build dependencies
run: python -m pip install build wheel
- name: Build distributions
run: python -m build -sw
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1