-
-
Notifications
You must be signed in to change notification settings - Fork 454
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GitHub actions release workflow for
django-stubs-ext
(#2150)
- Loading branch information
Showing
2 changed files
with
24 additions
and
17 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/ |
This file was deleted.
Oops, something went wrong.