Skip to content

Commit

Permalink
Add GitHub actions release workflow for django-stubs-ext (#2150)
Browse files Browse the repository at this point in the history
  • Loading branch information
flaeppe authored May 12, 2024
1 parent 6da49a7 commit 4e677a5
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 17 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,27 @@ jobs:
run: python -m build
- name: Publish to PyPI
uses: pypa/[email protected]

build-and-publish-ext:
runs-on: ubuntu-latest
environment:
name: release-ext
url: https://pypi.org/p/django-stubs-ext
permissions:
id-token: write
steps:
- name: Setup python to build package
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install build
run: python -m pip install build
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build ext package
run: python -m build ext/
- name: Publish ext to PyPI
uses: pypa/[email protected]
with:
packages-dir: ext/dist/
17 changes: 0 additions & 17 deletions ext/release.sh

This file was deleted.

0 comments on commit 4e677a5

Please sign in to comment.