From a84b442e7c809723e12af103f538eca728073078 Mon Sep 17 00:00:00 2001 From: Alexander Malev Date: Tue, 17 Oct 2023 09:38:36 +0300 Subject: [PATCH] Fix macos ci --- .github/workflows/CI.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 1a829f1..3aa4036 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -50,8 +50,13 @@ jobs: runs-on: macos-latest steps: - uses: actions/checkout@v3 + - name: Set up Python + uses: actions/setup-python@v4.6.1 + with: + python-version: '3.x' + if: "startsWith(github.ref, 'refs/tags/')" - name: Install hatch - run: pip3 install --upgrade hatch virtualenv + run: pip3 install --upgrade hatch - name: Set version from tag run: hatch version $GITHUB_REF_NAME if: "startsWith(github.ref, 'refs/tags/')"