File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717
1818env :
1919 CD : ${{ vars.CONTINUOUS_DEPLOYMENT }}
20- DEPLOY_MODE : " true"
2120 VERSION : ${{ github.event.inputs.version != '' && github.event.inputs.version || 'None' }}
2221
2322jobs :
@@ -60,24 +59,20 @@ jobs:
6059 git config user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
6160 git tag -a "${VERSION}" -m "Release ${VERSION}"
6261 git push origin "${VERSION}"
63- if : ${{ env.RELEASE_MODE == 'true' }}
6462
6563 - name : Build package
6664 shell : bash
6765 run : uv build
68- if : ${{ env.RELEASE_MODE == 'true' }}
6966
7067 - name : Upload package to artifact registry
7168 uses : actions/upload-artifact@v6
7269 with :
7370 name : uvtask
7471 path : dist/
75- if : ${{ env.RELEASE_MODE == 'true' }}
7672
7773 - name : Publish package
7874 shell : bash
7975 run : uv publish --token "${{ secrets.UV_PUBLISH_TOKEN }}"
80- if : ${{ env.RELEASE_MODE == 'true' }}
8176
8277 - name : Clean
8378 shell : bash
You can’t perform that action at this time.
0 commit comments