-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (43 loc) · 1.13 KB
/
uv.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: "📦🚀 uv"
on:
push:
branches:
- long_lived/**
- main
- release/**
tags:
- '**'
pull_request:
branches:
- '**'
workflow_dispatch:
inputs:
version:
description: "The version to build"
required: true
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ github.event_name == 'workflow_dispatch' && github.event.inputs.version || '' }}-${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.ref, 'refs/heads/long_lived/')) && github.sha || '' }}
cancel-in-progress: true
defaults:
run:
shell: bash
permissions:
id-token: write
contents: read
env:
VERSION: ${{ inputs.version || '0.1.7' }}
jobs:
build:
uses: ./.github/workflows/reflow-build-maturin.yml
with:
distribution-name: uv
import-name: uv
version: ${{ env.VERSION }}
only-major-dot-minor: '3.10'
upload:
uses: ./.github/workflows/reflow-upload-to-chia-pypi.yml
needs: build
secrets: inherit
with:
distribution-name: uv
version: ${{ env.VERSION }}