Skip to content

Commit 578caa5

Browse files
authored
chore: remove unnecessary release mode checks in CD workflow (#3)
1 parent 24e3164 commit 578caa5

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

.github/workflows/cd.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ on:
1717

1818
env:
1919
CD: ${{ vars.CONTINUOUS_DEPLOYMENT }}
20-
DEPLOY_MODE: "true"
2120
VERSION: ${{ github.event.inputs.version != '' && github.event.inputs.version || 'None' }}
2221

2322
jobs:
@@ -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

0 commit comments

Comments
 (0)