From c4d707d502927b7f1c690aa2638b6e6ecc98ec29 Mon Sep 17 00:00:00 2001 From: Patrick Kalita Date: Mon, 20 Mar 2023 10:13:31 -0700 Subject: [PATCH] Install yq in publish workflow --- .github/workflows/pypi-publish.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pypi-publish.yaml b/.github/workflows/pypi-publish.yaml index ba622665..17518621 100644 --- a/.github/workflows/pypi-publish.yaml +++ b/.github/workflows/pypi-publish.yaml @@ -19,16 +19,23 @@ jobs: - name: Install Poetry run: | - pip install poetry + pip install poetry==1.3.2 poetry self add "poetry-dynamic-versioning[plugin]" - name: Install project dependencies run: poetry install --no-interaction + - name: Install yq + env: + YQ_VERSION: v4.30.5 + YQ_BINARY: yq_linux_amd64 + run: | + wget https://github.com/mikefarah/yq/releases/download/$YQ_VERSION/$YQ_BINARY.tar.gz -O - | tar xz && mv $YQ_BINARY /usr/bin/yq + - name: Generate project files run: | poetry dynamic-versioning - make gen-project + make clean schema_cleanup gen-project - name: Build source and wheel archives run: poetry build