Skip to content

Commit 050e746

Browse files
SimsonWjameszyao
authored andcommitted
ci: update release.yml
1 parent 3e1c29d commit 050e746

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,14 @@ jobs:
3838
python-version: 3.x
3939

4040
- name: Install Dependencies
41-
run: pip install -r requirements.txt
42-
41+
run: |
42+
pip install -r requirements.txt
43+
pip install -r test_requirements.txt
44+
4345
- name: Run Version Verification
4446
run: |
4547
python -c "from taskingai import __version__; import os; current_tag = os.getenv('IMAGE_TAG'); assert __version__ == current_tag, 'Version mismatch: Expected {} but got {}'.format(__version__, current_tag); print('Version matched!')"
4648
47-
4849
- name: Install Twine
4950
run: |
5051
python -m pip install --upgrade pip
@@ -65,15 +66,3 @@ jobs:
6566
env:
6667
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
6768
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
68-
69-
- name: Create Release
70-
uses: actions/create-release@v1
71-
env:
72-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
73-
with:
74-
tag_name: ${{ env.IMAGE_TAG }}
75-
release_name: Release ${{ env.IMAGE_TAG }}
76-
body: |
77-
This is the release for version ${{ env.IMAGE_TAG }}.
78-
draft: false
79-
prerelease: false

0 commit comments

Comments
 (0)