From 70460413aff3e315240853907cd62686c02cbeb8 Mon Sep 17 00:00:00 2001 From: Jingbei Li Date: Sat, 15 Jun 2024 20:25:49 +0800 Subject: [PATCH] fixed workflow --- .github/workflows/update.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 95cc08a1..271f42c4 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -18,7 +18,7 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: JinnLynn/genpac path: genpac @@ -34,7 +34,6 @@ jobs: - run: | cd genpac - sed 's/from collections import Callable/from collections.abc import Callable/g' -i $(grep 'from collections import Callable' . -rIl) sudo python3 setup.py install - name: Update