diff --git a/.github/workflows/build-and-publish.yaml b/.github/workflows/build-and-publish.yaml index 06fa1e1..ce6a26f 100644 --- a/.github/workflows/build-and-publish.yaml +++ b/.github/workflows/build-and-publish.yaml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Python 3.12 - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: '3.12' @@ -27,7 +27,7 @@ jobs: # Cache lxml wheels based on the hashed version to speed up builds. - name: Cache lxml wheels id: cache-lxml - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: .wheels key: ${{ runner.arch }}-lxml-${{ steps.lxml-version.outputs.lxml_line }} @@ -42,7 +42,8 @@ jobs: else echo "Wheel not found, need to build." echo "::set-output name=wheel_exists::false" - + fi + # Build lxml wheel if it is not found in the cache. - name: Build lxml wheel if not cached if: steps.check-wheel.outputs.wheel_exists == 'false' @@ -71,7 +72,7 @@ jobs: # Cache lxml wheels based on the hashed version to speed up builds. - name: Cache lxml wheels id: cache-lxml - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: .wheels key: ${{ runner.arch }}-lxml-${{ steps.lxml-version.outputs.lxml_line }}