Skip to content

Commit

Permalink
.github/workflows/nightly.yml update setup-python
Browse files Browse the repository at this point in the history
  • Loading branch information
fb929 committed Oct 15, 2024
1 parent 641b176 commit bffc086
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ jobs:
- name: Check out Git repository
uses: actions/checkout@v1

- name: Set up Python 3.11 # downgrade python for macos-14 and above (error: npm ERR! ModuleNotFoundError: No module named 'distutils')
if: startsWith(matrix.os, 'macos-') && (matrix.os == 'macos-14' || matrix.os > 'macos-14')
uses: actions/setup-python@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: 3.11

- name: Setup distutils
if: matrix.os != 'windows-latest'
run: sudo -H pip install --break-system-packages setuptools
- name: Install LibSecret
if: matrix.os == 'ubuntu-latest'
run:
sudo apt-get install libsecret-1-dev

- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v4
Expand Down

0 comments on commit bffc086

Please sign in to comment.