Release #5
Workflow file for this run
This file contains hidden or 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
name: Release | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build: | |
if: github.repository == 'jazzband/django-user-sessions' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v5 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
- name: Install uv | |
uses: astral-sh/setup-uv@v6 | |
with: | |
version: "latest" | |
- name: Install twine | |
run: | | |
uv tool install twine | |
- name: Build package | |
run: | | |
uv build | |
- name: Upload packages to Jazzband | |
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') | |
run: | | |
twine upload --username jazzband --password ${{ secrets.JAZZBAND_RELEASE_KEY }} --repository-url https://jazzband.co/projects/django-user-sessions/upload dist/* |