Skip to content

TagSpaces is an offline, open source, document manager with tagging support

github actions fix python

sytolk7900cfc14a3c
diff --git a/.github/workflows/workflow_scheduled_win_electron_pro.yml b/.github/workflows/workflow_scheduled_win_electron_pro.yml
index cdd2c634c..b1533ea35 100644
--- a/.github/workflows/workflow_scheduled_win_electron_pro.yml
+++ b/.github/workflows/workflow_scheduled_win_electron_pro.yml
@@ -26,8 +26,14 @@ jobs:
always-auth: true
registry-url: https://npm.pkg.github.com/
scope: '@tagspacespro'
+ - name: Set up Python 3.x
+ uses: actions/setup-python@v5
+ with:
+ python-version: 3.x
- name: Running npm install, prettier and type checks
run: |
+ # fix flaky python installation on github actions:
+ python -m pip install --upgrade pip setuptools
npm install
npm run prettier-check
npm run type-check