Skip to content

Commit

Permalink
Fix Python versions in GA
Browse files Browse the repository at this point in the history
  • Loading branch information
animetosho committed Jan 24, 2024
1 parent 54c70c2 commit 9a81b07
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-dev-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
BUILD_CONFIGURE: '--with-arm-float-abi=hard --with-arm-fpu=vfpv3-d16'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.9' # workaround "cannot import name 'Mapping' from 'collections'" error
- uses: Lesmiscore/musl-cross-compilers@jockie
id: musl
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-dev-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
BUILD_LOGLEVEL: verbose
steps:
- uses: actions/checkout@v3
- uses: MatteoH2O1999/setup-python@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.9' # workaround "cannot import name 'Mapping' from 'collections'" error
- run: npm install --production
- run: (cd nexe && npm install --production)
- run: (cd nexe && node build)
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ jobs:
BUILD_CONFIGURE: '--with-arm-float-abi=hard --with-arm-fpu=vfpv3-d16'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.9' # workaround "cannot import name 'Mapping' from 'collections'" error
- uses: Lesmiscore/musl-cross-compilers@jockie
id: musl
with:
Expand Down Expand Up @@ -105,9 +108,9 @@ jobs:
BUILD_LOGLEVEL: verbose
steps:
- uses: actions/checkout@v3
- uses: MatteoH2O1999/setup-python@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.9' # workaround "cannot import name 'Mapping' from 'collections'" error
- name: Get release
id: get_release
uses: bruceadams/[email protected]
Expand Down

0 comments on commit 9a81b07

Please sign in to comment.