File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -60,24 +60,24 @@ jobs:
6060 git config user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
6161 git tag -a "${VERSION}" -m "Release ${VERSION}"
6262 git push origin "${VERSION}"
63- if : ${{ env.PIPELINE_TAG == 'true' && env. RELEASE_MODE == 'true' }}
63+ if : ${{ env.RELEASE_MODE == 'true' }}
6464
6565 - name : Build package
6666 shell : bash
6767 run : uv build
68- if : ${{ env.PIPELINE_TAG == 'true' && env. RELEASE_MODE == 'true' }}
68+ if : ${{ env.RELEASE_MODE == 'true' }}
6969
7070 - name : Upload package to artifact registry
7171 uses : actions/upload-artifact@v6
7272 with :
7373 name : uvtask
7474 path : dist/
75- if : ${{ env.PIPELINE_TAG == 'true' && env. RELEASE_MODE == 'true' }}
75+ if : ${{ env.RELEASE_MODE == 'true' }}
7676
7777 - name : Publish package
7878 shell : bash
79- run : uv publish
80- if : ${{ env.PIPELINE_TAG == 'true' && env. RELEASE_MODE == 'true' }}
79+ run : uv publish --token "${{ secrets.UV_PUBLISH_TOKEN }}"
80+ if : ${{ env.RELEASE_MODE == 'true' }}
8181
8282 - name : Clean
8383 shell : bash
You can’t perform that action at this time.
0 commit comments