Skip to content

Commit e72cff3

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

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/build_py_tools.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,6 @@ jobs:
8888
done
8989
- name: Checkout repository
9090
uses: actions/checkout@v4
91-
with:
92-
token: ${{ secrets.TOOLS_UPLOAD_PAT }}
93-
ref: ${{ github.event.pull_request.head.ref }}
9491
- name: Set up Python 3.8
9592
# Skip setting python on ARM because of missing compatibility: https://github.com/actions/setup-python/issues/108
9693
if: matrix.os != 'ARM' && matrix.os != 'ARM64'
@@ -108,7 +105,7 @@ jobs:
108105
pyinstaller --distpath ./${{ env.DISTPATH }} -F --icon=.github/pytools/espressif.ico tools/$tool.py
109106
done
110107
- name: Sign binaries
111-
if: matrix.os == 'windows-latest' && env.CERTIFICATE != '' && env.CERTIFICATE_PASSWORD != ''
108+
if: matrix.os == 'windows-latest' && env.CERTIFICATE != ''
112109
env:
113110
CERTIFICATE: ${{ secrets.CERTIFICATE }}
114111
CERTIFICATE_PASSWORD: ${{ secrets.CERTIFICATE_PASSWORD }}

0 commit comments

Comments
 (0)