File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 10
10
- " v[0-9]+.[0-9]+.[0-9]+"
11
11
12
12
jobs :
13
+ test :
14
+ uses : ./.github/workflows/test.yml
13
15
release-gen :
16
+ needs : test
14
17
runs-on : ubuntu-latest
15
18
permissions :
16
19
contents : write
22
25
generateReleaseNotes : true
23
26
24
27
build-and-push-image :
28
+ needs : test
25
29
runs-on : ubuntu-latest
26
30
permissions :
27
31
contents : read
54
58
labels : ${{ steps.meta.outputs.labels }}
55
59
cache-from : type=gha
56
60
cache-to : type=gha,mode=max
61
+ publish :
62
+ needs : test
63
+ runs-on : ubuntu-latest
64
+ permissions :
65
+ contents : read
66
+ packages : write
67
+ steps :
68
+ - name : Checkout
69
+ uses : actions/checkout@v3
70
+ - name : Build and publish to pypi
71
+
72
+ with :
73
+ pypi_token : ${{ secrets.PYPI_TOKEN }}
Original file line number Diff line number Diff line change 26
26
max_attempts : 3
27
27
retry_on : error
28
28
command : task test
29
-
29
+ - name : Build and publish to pypi
30
+
31
+ with :
32
+ pypi_token : ${{ secrets.PYPI_TOKEN }}
33
+ poetry_install_options : " --sync --no-root"
34
+ poetry_publish_options : " --dry-run"
You can’t perform that action at this time.
0 commit comments