Browse Source

Use Python 3.11 in macOS build workflow

Valentine Briese 1 year ago
parent
commit
ac1435d0f3
1 changed files with 3 additions and 6 deletions
  1. 3 6
      .github/workflows/build.yaml

+ 3 - 6
.github/workflows/build.yaml

@@ -2,7 +2,7 @@ name: "Build FBX2glTF"
 on:
   pull_request:
     branches:
-    - master
+      - master
   push:
     branches:
       - master
@@ -107,7 +107,6 @@ jobs:
           name: FBX2glTF-windows-x86_64
           path: FBX2glTF-windows-x86_64/*
 
-
   build-linux:
     runs-on: ubuntu-20.04
     steps:
@@ -198,7 +197,6 @@ jobs:
           name: FBX2glTF-linux-x86_64
           path: FBX2glTF-linux-x86_64/*
 
-
   build-macos:
     runs-on: macos-11
     steps:
@@ -208,12 +206,11 @@ jobs:
       - name: Update python
         uses: actions/setup-python@v4
         with:
-          python-version: '3'
+          python-version: "3.11"
 
       - name: Install conan
         run: |
-          echo "Cython<3" > cython_constraint.txt
-          PIP_CONSTRAINT=cython_constraint.txt pip install --upgrade conan==1.58
+          pip install --upgrade conan==1.58
         shell: bash
 
       - name: Setup conan profile