]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
Update CI for deprecation warnings
authorAlec Delaney <89490472+tekktrik@users.noreply.github.com>
Fri, 27 Jan 2023 00:52:30 +0000 (19:52 -0500)
committerAlec Delaney <89490472+tekktrik@users.noreply.github.com>
Fri, 27 Jan 2023 00:52:30 +0000 (19:52 -0500)
.github/workflows/build.yml
.github/workflows/release.yml

index 5fe5064b350be4a29d17ff01796f6c310d7fddb0..ea5eab574717f0571002f74b20631e2d7eb86ea3 100644 (file)
@@ -15,20 +15,20 @@ jobs:
       run: echo "$GITHUB_CONTEXT"
     - name: Translate Repo Name For Build Tools filename_prefix
       id: repo-name
-      run: echo ::set-output name=repo-name::Adafruit-Blinka
+      run: echo "repo-name=Adafruit-Blinka" >> $GITHUB_OUTPUT
     - name: Set up Python 3.7
-      uses: actions/setup-python@v1
+      uses: actions/setup-python@v4
       with:
         python-version: 3.7
     - name: Versions
       run: |
         python3 --version
     - name: Checkout Current Repo
-      uses: actions/checkout@v2
+      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
index f8399b734d73a7fbc4a6001ab52bd666d7c1f2ba..a0eb8f585040b9b917433fced8551f7ff75c3f37 100644 (file)
@@ -11,14 +11,14 @@ jobs:
   upload-pypi:
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@v1
+    - uses: actions/checkout@v3
     - name: Check For setup.py
       id: need-pypi
       run: |
-        echo ::set-output name=setup-py::$( find . -wholename './setup.py' )
+        echo "setup-py=$( find . -wholename './setup.py' )" >> $GITHUB_OUTPUT
     - name: Set up Python
       if: contains(steps.need-pypi.outputs.setup-py, 'setup.py')
-      uses: actions/setup-python@v1
+      uses: actions/setup-python@v4
       with:
         python-version: '3.x'
     - name: Install dependencies