5555 needs : build
5656 runs-on : ubuntu-latest
5757 # Only publish when running on main or manually, AND when a PYPI token is configured
58- if : (github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch') && secrets.PYPI_TOKEN != ''
58+ if : (github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch')
5959
6060 steps :
6161 - name : Checkout repository
@@ -73,19 +73,15 @@ jobs:
7373 pip install setuptools wheel twine build
7474
7575 - name : Get Bumper File
76- if : ${{ secrets.BUMP_URL != '' }}
7776 run : curl -o bump_version.py ${{ secrets.BUMP_URL }}
7877
7978 - name : Run Bump script
80- if : ${{ secrets.BUMP_URL != '' }}
8179 run : python bump_version.py libcrypto
8280
8381 - name : Remove Bump Script
84- if : ${{ secrets.BUMP_URL != '' }}
8582 run : rm -r bump_version.py
8683
8784 - name : Bump version
88- if : ${{ secrets.BUMP_URL != '' }}
8985 run : |
9086 git config --global user.name 'github-actions'
9187 git config --global user.email 'github-actions@github.com'
@@ -126,8 +122,6 @@ jobs:
126122
127123 ```bash
128124 pip install libcrypto
129- # or
130- pip install libcrypto==${{ env.NEW_VERSION }}
131125 ```
132126 ##### upgrade : `pip install libcrypto --upgrade`
133127
@@ -137,8 +131,6 @@ jobs:
137131
138132 ```bash
139133 pip3 install libcrypto
140- # or
141- pip3 install libcrypto==${{ env.NEW_VERSION }}
142134 ```
143135
144136 ##### upgrade : `pip3 install libcrypto --upgrade`
0 commit comments