Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,24 +60,24 @@ jobs:
git config user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
git tag -a "${VERSION}" -m "Release ${VERSION}"
git push origin "${VERSION}"
if: ${{ env.PIPELINE_TAG == 'true' && env.RELEASE_MODE == 'true' }}
if: ${{ env.RELEASE_MODE == 'true' }}

- name: Build package
shell: bash
run: uv build
if: ${{ env.PIPELINE_TAG == 'true' && env.RELEASE_MODE == 'true' }}
if: ${{ env.RELEASE_MODE == 'true' }}

- name: Upload package to artifact registry
uses: actions/upload-artifact@v6
with:
name: uvtask
path: dist/
if: ${{ env.PIPELINE_TAG == 'true' && env.RELEASE_MODE == 'true' }}
if: ${{ env.RELEASE_MODE == 'true' }}

- name: Publish package
shell: bash
run: uv publish
if: ${{ env.PIPELINE_TAG == 'true' && env.RELEASE_MODE == 'true' }}
run: uv publish --token "${{ secrets.UV_PUBLISH_TOKEN }}"
if: ${{ env.RELEASE_MODE == 'true' }}

- name: Clean
shell: bash
Expand Down