44 workflow_dispatch :
55 inputs :
66 package :
7- description : ' Python package to release'
7+ description : " Python package to release"
88 required : true
99 type : choice
1010 options :
1111 - afm-core
1212 - afm-langchain
1313 branch :
14- description : ' Branch to release from'
14+ description : " Branch to release from"
1515 required : false
16- default : ' main'
16+ default : " main"
1717 type : string
1818
1919concurrency :
@@ -121,11 +121,11 @@ jobs:
121121 pypi-publish :
122122 needs : [validate, test, docker]
123123 if : >-
124- !cancelled()
125- && needs.validate.result == 'success'
126- && needs.test.result == 'success'
127- && (needs.docker.result == 'success'
128- || needs.docker.result == 'skipped')
124+ !cancelled()
125+ && needs.validate.result == 'success'
126+ && needs.test.result == 'success'
127+ && (needs.docker.result == 'success'
128+ || needs.docker.result == 'skipped')
129129 runs-on : ubuntu-latest
130130 steps :
131131 - name : Checkout repository
@@ -181,18 +181,19 @@ jobs:
181181 version : ${{ needs.validate.outputs.release_version }}
182182 branch : ${{ inputs.branch }}
183183 image_title : AFM LangChain Interpreter
184+ build_slim : false
184185 permissions :
185186 packages : write
186187 security-events : write
187188
188189 finalize :
189190 needs : [validate, pypi-publish, docker]
190191 if : >-
191- !cancelled()
192- && needs.validate.result == 'success'
193- && needs.pypi-publish.result == 'success'
194- && (needs.docker.result == 'success'
195- || needs.docker.result == 'skipped')
192+ !cancelled()
193+ && needs.validate.result == 'success'
194+ && needs.pypi-publish.result == 'success'
195+ && (needs.docker.result == 'success'
196+ || needs.docker.result == 'skipped')
196197 uses : ./.github/workflows/release-finalize.yml
197198 with :
198199 tag : ${{ needs.validate.outputs.tag }}
@@ -207,9 +208,9 @@ jobs:
207208 bump-version :
208209 needs : [validate, finalize]
209210 if : >-
210- !cancelled()
211- && needs.validate.result == 'success'
212- && needs.finalize.result == 'success'
211+ !cancelled()
212+ && needs.validate.result == 'success'
213+ && needs.finalize.result == 'success'
213214 runs-on : ubuntu-latest
214215 permissions :
215216 contents : write
0 commit comments