]> Repositories - hackapet/Adafruit_Blinka_Displayio.git/blobdiff - .github/workflows/build.yml
Pin Github actions to python 3.11
[hackapet/Adafruit_Blinka_Displayio.git] / .github / workflows / build.yml
index 37ac04cbfe05a17b8896d774b4fa8dc5dd99264d..a91cf248468558d649fa099541b8879f4e4199c3 100644 (file)
@@ -18,20 +18,20 @@ jobs:
     - name: Translate Repo Name For Build Tools filename_prefix
       id: repo-name
       run: |
-        echo ::set-output name=repo-name::Adafruit-Blinka-displayio
-    - name: Set up Python 3.x
-      uses: actions/setup-python@v2
+        echo "repo-name=Adafruit-Blinka-displayio" >> $GITHUB_OUTPUT
+    - name: Set up Python 3.11
+      uses: actions/setup-python@v4
       with:
-        python-version: "3.x"
+        python-version: "3.11"
     - name: Versions
       run: |
         python3 --version
     - name: Checkout Current Repo
-      uses: actions/checkout@v1
+      uses: actions/checkout@v3
       with:
         submodules: true
     - name: Checkout tools repo
-      uses: actions/checkout@v2
+      uses: actions/checkout@v3
       with:
         repository: adafruit/actions-ci-circuitpython-libs
         path: actions-ci
@@ -49,18 +49,13 @@ jobs:
     - name: Pre-commit hooks
       run: |
         pre-commit run --all-files
-    - name: Archive bundles
-      uses: actions/upload-artifact@v2
-      with:
-        name: bundles
-        path: ${{ github.workspace }}/bundles/
     - name: Build docs
       working-directory: docs
       run: sphinx-build -E -W -b html . _build/html
     - name: Check For pyproject.toml
       id: need-pypi
       run: |
-        echo ::set-output name=pyproject-toml::$( find . -wholename './pyproject.toml' )
+        echo "pyproject-toml=$( find . -wholename './pyproject.toml' )" >> $GITHUB_OUTPUT
     - name: Build Python package
       if: contains(steps.need-pypi.outputs.pyproject-toml, 'pyproject.toml')
       run: |