Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
womendoushihaoyin committed Oct 11, 2024
1 parent 3efd476 commit b2a583f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,10 @@ jobs:
- name: Install APT packages
run: |
echo "Installing APT packages..."
for deb in ./apt-cache/*; do
sudo apt install "$deb"
for deb in ./apt-cache/*.deb; do
if [ -f "$deb" ]; then # 确保是文件而不是目录
sudo apt install "$deb"
fi
done
Expand Down

0 comments on commit b2a583f

Please sign in to comment.