From f746a5037c7ea81da48d100189a8c9c03ed67bb5 Mon Sep 17 00:00:00 2001 From: Realcat Date: Sun, 22 Dec 2024 14:13:48 +0000 Subject: [PATCH] update: ci --- .github/workflows/ci.yml | 8 +++++++- .github/workflows/pip.yml | 11 ++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1a61e5d..c9fc516 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,13 @@ jobs: uses: actions/checkout@v4 with: submodules: recursive - + - name: Checkout lfs + run: | + git lfs install --local + AUTH=$(git config --local http.${{ github.server_url }}/.extraheader) + git config --local --unset http.${{ github.server_url }}/.extraheader + git config --local http.${{ github.server_url }}/${{ github.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH" + git lfs pull - name: Set up Python uses: actions/setup-python@v4 with: diff --git a/.github/workflows/pip.yml b/.github/workflows/pip.yml index e0505b7..48e9c2a 100644 --- a/.github/workflows/pip.yml +++ b/.github/workflows/pip.yml @@ -11,7 +11,8 @@ jobs: strategy: fail-fast: false matrix: - platform: [macos-13, ubuntu-latest] + # platform: [macos-13, ubuntu-latest] + platform: [ubuntu-latest] python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] # runs-on: ${{ matrix.platform }} @@ -21,6 +22,14 @@ jobs: with: submodules: true + - name: Checkout lfs + run: | + git lfs install --local + AUTH=$(git config --local http.${{ github.server_url }}/.extraheader) + git config --local --unset http.${{ github.server_url }}/.extraheader + git config --local http.${{ github.server_url }}/${{ github.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH" + git lfs pull + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }}