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
5 changes: 0 additions & 5 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ on:

env:
CD: ${{ vars.CONTINUOUS_DEPLOYMENT }}
DEPLOY_MODE: "true"
VERSION: ${{ github.event.inputs.version != '' && github.event.inputs.version || 'None' }}

jobs:
Expand Down Expand Up @@ -60,24 +59,20 @@ 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.RELEASE_MODE == 'true' }}

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

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

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

- name: Clean
shell: bash
Expand Down