Skip to content

Commit 1f73ee6

Browse files
committed
ci(tools): Fix python tools build
1 parent fbf94b2 commit 1f73ee6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/build_py_tools.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ jobs:
8989
- name: Checkout repository
9090
uses: actions/checkout@v4
9191
with:
92-
token: ${{ secrets.TOOLS_UPLOAD_PAT }}
9392
ref: ${{ github.event.pull_request.head.ref }}
9493
- name: Set up Python 3.8
9594
# Skip setting python on ARM because of missing compatibility: https://github.com/actions/setup-python/issues/108
@@ -108,7 +107,7 @@ jobs:
108107
pyinstaller --distpath ./${{ env.DISTPATH }} -F --icon=.github/pytools/espressif.ico tools/$tool.py
109108
done
110109
- name: Sign binaries
111-
if: matrix.os == 'windows-latest' && env.CERTIFICATE != '' && env.CERTIFICATE_PASSWORD != ''
110+
if: matrix.os == 'windows-latest' && env.CERTIFICATE != ''
112111
env:
113112
CERTIFICATE: ${{ secrets.CERTIFICATE }}
114113
CERTIFICATE_PASSWORD: ${{ secrets.CERTIFICATE_PASSWORD }}

0 commit comments

Comments
 (0)