File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }}
You can’t perform that action at this time.
0 commit comments