Skip to content

Merge pull request #38 from openweathermap/dev #9

Merge pull request #38 from openweathermap/dev

Merge pull request #38 from openweathermap/dev #9

Workflow file for this run

name: build
on:
push:
tags:
- 'v[1-9]+.[0-9]+.[0-9]+'
jobs:
build_sdist:
name: Build source distribution
uses: openweathermap/deker-actions/.github/workflows/build.yml@master
upload_pypi:
name: Publish source distribution
needs: build_sdist
runs-on: ubuntu-latest
permissions:
id-token: write
environment:
name: pypi
url: https://pypi.org/p/${{ vars.PACKAGE_NAME }}
steps:
- uses: actions/download-artifact@v4
with:
# unpacks default artifact into dist/
# if `name: artifact` is omitted, the action will create extra parent dir
name: artifact
path: dist
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1