| 1 |
on: |
| 2 |
push: |
| 3 |
pull_request: |
| 4 |
schedule: |
| 5 |
- cron: '30 13 * * *' |
| 6 |
permissions: { } |
| 7 |
jobs: |
| 8 |
sdist: |
| 9 |
runs-on: 'ubuntu-22.04' |
| 10 |
steps: |
| 11 |
- name: Set up Python |
| 12 |
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 |
| 13 |
with: |
| 14 |
python-version: '3.9' |
| 15 |
|
| 16 |
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 |
| 17 |
with: |
| 18 |
persist-credentials: false |
| 19 |
|
| 20 |
- name: Install uv |
| 21 |
uses: astral-sh/setup-uv@d9e0f98d3fc6adb07d1e3d37f3043649ddad06a1 # v6.5.0 |
| 22 |
with: |
| 23 |
version: "0.8.11" |
| 24 |
|
| 25 |
- name: Build sdist |
| 26 |
run: | |
| 27 |
uv build --sdist |
| 28 |
|
| 29 |
- name: Upload sdist |
| 30 |
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 |
| 31 |
with: |
| 32 |
path: dist |