fix(ci): lock python version in release build

pull/10430/head^2
Andelf 2023-11-08 00:05:18 +08:00
parent 05a82a5f26
commit b5ef701b03
1 changed files with 10 additions and 0 deletions

View File

@ -354,6 +354,11 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
@ -434,6 +439,11 @@ jobs:
restore-keys: |
${{ runner.os }}-arm64-yarn-
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Signing By Apple Developer ID
if: ${{ github.repository == 'logseq/logseq' }}
uses: apple-actions/import-codesign-certs@v1