Skip to content

Commit 81da721

Browse files
authored
Update tag.yml (#102)
1 parent e312ca5 commit 81da721

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

.github/workflows/tag.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,26 +51,22 @@ jobs:
5151
fi
5252
5353
- name: Publish new tag
54-
if: github.event.inputs.publish_tag == 'true' && steps.check_tag.outputs.tag_exists == 'false'
54+
if: steps.check_tag.outputs.tag_exists == 'false'
5555
run: |
5656
git tag -a "${{ github.event.inputs.tag_name }}" -m "$(git log -1 --pretty=%B)"
5757
git push origin "${{ github.event.inputs.tag_name }}"
5858
5959
- name: Set up Python environment
60-
if: github.event.inputs.publish_release == 'true'
6160
uses: actions/setup-python@v5
6261
with:
6362
python-version: "3.x"
64-
cache: "pip"
6563

6664
- name: Install dependencies
67-
if: github.event.inputs.publish_release == 'true'
6865
run: |
6966
python -m pip install --upgrade pip wheel
7067
pip install openai requests
7168
7269
- name: Publish new release
73-
if: github.event.inputs.publish_release == 'true'
7470
env:
7571
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
7672
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)