8000 Improve path handling using os.path.join and startswith · astro-tiptop/P3@078ecd0 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

“Add file existence checks for PathPupil, PathStaticOn, PathStaticOff, PathStaticPos, PathApodizer, PathStatModes and windPsdFile in telescope #124

“Add file existence checks for PathPupil, PathStaticOn, PathStaticOff, PathStaticPos, PathApodizer, PathStatModes and windPsdFile in telescope

“Add file existence checks for PathPupil, PathStaticOn, PathStaticOff, PathStaticPos, PathApodizer, PathStatModes and windPsdFile in telescope #124

Workflow file for this run

name: Release
on:
pull_request:
push:
tags:
- '*'
jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI
runs-on: ubuntu-latest
if: ((github.event_name == 'push' && startsWith(github.ref, 'refs/tags')) || contains(github.event.pull_request.labels.*.name, 'Build wheels'))
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install python-build and twine
run: python -m pip install build twine
- name: Build package
run: python -m build --sdist --wheel .
- name: List result
run: ls -l dist
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.pypi_password }}
0