File: release.yml

package info (click to toggle)
django-modeltranslation 0.20.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,084 kB
  • sloc: python: 6,195; javascript: 448; makefile: 154
file content (23 lines) | stat: -rw-r--r-- 511 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: Release
on:
  push:
    tags:
      - v*
env:
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
  Release:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Set up Python
        uses: astral-sh/setup-uv@v5
        with:
          python-version: "3.14"
      - name: Build artifacts
        run: |
          uvx --from build python -m build --installer uv
      - name: Create release
        uses: softprops/action-gh-release@v2
        with:
          files: dist/*