From 941ad99369e68181ab644b4a06099e752b0e9c67 Mon Sep 17 00:00:00 2001 From: Jirka Date: Wed, 26 Jun 2024 14:50:42 +0200 Subject: [PATCH] ci: fix source gha requirements --- .github/actions/pkg-create/action.yml | 4 ---- .github/workflows/check-package.yml | 2 ++ .github/workflows/release-pypi.yml | 2 ++ 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/pkg-create/action.yml b/.github/actions/pkg-create/action.yml index 9616081f..aeb80512 100644 --- a/.github/actions/pkg-create/action.yml +++ b/.github/actions/pkg-create/action.yml @@ -10,10 +10,6 @@ inputs: runs: using: "composite" steps: - - name: Prepare dev. env - run: pip install -r requirements/gha-package.txt - shell: bash - - name: Create package 📦 # python setup.py clean run: python -m build diff --git a/.github/workflows/check-package.yml b/.github/workflows/check-package.yml index 19f69274..fc3e5d5c 100644 --- a/.github/workflows/check-package.yml +++ b/.github/workflows/check-package.yml @@ -93,6 +93,8 @@ jobs: ref: ${{ inputs.actions-ref }} path: .cicd repository: Lightning-AI/utilities + - name: Prepare build env. + run: pip install -r ./.cicd/requirements/gha-package.txt - name: Create package 📦 uses: ./.cicd/.github/actions/pkg-create with: diff --git a/.github/workflows/release-pypi.yml b/.github/workflows/release-pypi.yml index 0bf0b858..15a6e90a 100644 --- a/.github/workflows/release-pypi.yml +++ b/.github/workflows/release-pypi.yml @@ -27,6 +27,8 @@ jobs: with: python-version: 3.8 + - name: Prepare build env. + run: pip install -r ./requirements/gha-package.txt - name: Create 📦 package uses: ./.github/actions/pkg-create - name: Upload 📤 to the share store