Skip to content

Commit

Permalink
工作流:修复找不到releases导致工作流运行失败
Browse files Browse the repository at this point in the history
  • Loading branch information
chenmozhijin committed Oct 2, 2023
1 parent aebd4ae commit 90cc19e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-openwrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1297,8 +1297,8 @@ jobs:
curl -s -L --retry 6 https://github.com/${{ github.repository }}/releases/download/${latest_ver}/allkmod.zip -o $PACKAGECOMPARE_ROOT_PATH/allkmod.zip -nv || exit 0
curl -s -L --retry 6 https://github.com/${{ github.repository }}/releases/download/${latest_ver}/package.zip -o $PACKAGECOMPARE_ROOT_PATH/package.zip -nv || exit 0
cd $PACKAGECOMPARE_ROOT_PATH
unzip package.zip
unzip allkmod.zip
unzip package.zip || exit 0
unzip allkmod.zip || exit 0
mv package oldpackage
mv kmod oldkmod
cp -rf oldkmod/* oldpackage/
Expand Down

0 comments on commit 90cc19e

Please sign in to comment.