From 21156cde737939403913c8dab040ad243bc50c57 Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Tue, 15 Oct 2024 07:12:15 +0000 Subject: [PATCH] fix: support pep 668 --- action.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/action.yml b/action.yml index dfe3859..1cff135 100644 --- a/action.yml +++ b/action.yml @@ -33,17 +33,15 @@ inputs: runs: using: "composite" steps: - - name: Install used-by + - name: Install and run used-by shell: bash run: | # try to fix https://github.com/pypa/setuptools/issues/3269 python3 -m pip install pip -U + python3 -m venv venv + source venv/bin/activate pip install git+https://github.com/shenxianpeng/used-by.git@main - - name: Run used-by - id: used-by - shell: bash - run: | used-by \ --repo="${{ inputs.repo }}" \ --file-path="${{ inputs.file-path }}" \