From 1f5a7989a8d90f5513975fbac1968e82d532bf23 Mon Sep 17 00:00:00 2001 From: james-choncholas Date: Thu, 2 Jan 2025 20:13:51 -0500 Subject: [PATCH] Fix build. Some dependencies not ready for compiler update with ubuntu 24.04. --- .github/workflows/formatter.yaml | 4 +++- .github/workflows/wheel.yaml | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/formatter.yaml b/.github/workflows/formatter.yaml index 9bdcc2a..f375e6f 100644 --- a/.github/workflows/formatter.yaml +++ b/.github/workflows/formatter.yaml @@ -10,7 +10,7 @@ on: jobs: formatter: name: Check formatting of Python, C++, and Bazel files. - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 @@ -29,4 +29,6 @@ jobs: if: steps.changes.outputs.changed != 0 run: | echo "Code has not been formatted. Please run the formatters as described by the README." + echo "Files changed:" + git status return 1 \ No newline at end of file diff --git a/.github/workflows/wheel.yaml b/.github/workflows/wheel.yaml index a4080cf..689794c 100644 --- a/.github/workflows/wheel.yaml +++ b/.github/workflows/wheel.yaml @@ -17,7 +17,7 @@ jobs: strategy: matrix: #os: [ubuntu-latest, windows-latest, macOS-12] - os: [ubuntu-latest] + os: [ubuntu-22.04] # python-version: ["3.9", "3.10", "3.11", "3.12"] # Also see MODULE.bazel # Note: Python 3.12 builds are blocked on TensorFlow PR 74090. See # requirements.in for details. @@ -41,7 +41,7 @@ jobs: upload_pypi: needs: [build_wheels] - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 environment: name: pypi url: https://pypi.org/project/tf-shell/