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 skip_pypi :
1919 description : ' Skip PyPI publishing'
@@ -126,12 +126,11 @@ jobs:
126126 pypi-publish :
127127 needs : [validate, test, docker]
128128 if : >-
129- !cancelled()
130- && !inputs.skip_pypi
131- && needs.validate.result == 'success'
132- && needs.test.result == 'success'
133- && (needs.docker.result == 'success'
134- || needs.docker.result == 'skipped')
129+ !cancelled()
130+ && needs.validate.result == 'success'
131+ && needs.test.result == 'success'
132+ && (needs.docker.result == 'success'
133+ || needs.docker.result == 'skipped')
135134 runs-on : ubuntu-latest
136135 steps :
137136 - name : Checkout repository
@@ -187,19 +186,19 @@ jobs:
187186 version : ${{ needs.validate.outputs.release_version }}
188187 branch : ${{ inputs.branch }}
189188 image_title : AFM LangChain Interpreter
189+ build_slim : false
190190 permissions :
191191 packages : write
192192 security-events : write
193193
194194 finalize :
195195 needs : [validate, pypi-publish, docker]
196196 if : >-
197- !cancelled()
198- && needs.validate.result == 'success'
199- && (needs.pypi-publish.result == 'success'
200- || needs.pypi-publish.result == 'skipped')
201- && (needs.docker.result == 'success'
202- || needs.docker.result == 'skipped')
197+ !cancelled()
198+ && needs.validate.result == 'success'
199+ && needs.pypi-publish.result == 'success'
200+ && (needs.docker.result == 'success'
201+ || needs.docker.result == 'skipped')
203202 uses : ./.github/workflows/release-finalize.yml
204203 with :
205204 tag : ${{ needs.validate.outputs.tag }}
@@ -214,9 +213,9 @@ jobs:
214213 bump-version :
215214 needs : [validate, finalize]
216215 if : >-
217- !cancelled()
218- && needs.validate.result == 'success'
219- && needs.finalize.result == 'success'
216+ !cancelled()
217+ && needs.validate.result == 'success'
218+ && needs.finalize.result == 'success'
220219 runs-on : ubuntu-latest
221220 permissions :
222221 contents : write
0 commit comments