diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4441e67..c013be0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,18 +19,18 @@ jobs: tr '_' '-' ) - 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@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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9560274..88542af 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,20 +12,20 @@ jobs: upload-pypi: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: Check For pyproject.toml id: need-pypi run: | echo pyproject-toml=$( find . -wholename './pyproject.toml' ) >> $GITHUB_OUTPUT - name: Set up Python if: contains(steps.need-pypi.outputs.pyproject-toml, 'pyproject.toml') - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: '3.x' - name: Install dependencies - if: contains(steps.need-pypi.outputs.pyproject.toml, 'pyproject.toml') + if: contains(steps.need-pypi.outputs.pyproject-toml, 'pyproject.toml') run: | - python -m pip install --upgrade pip build + python -m pip install --upgrade pip pip install --upgrade build twine - name: Build and publish if: contains(steps.need-pypi.outputs.pyproject-toml, 'pyproject.toml')