diff --git a/.github/workflows/compile_new_ipk.yml b/.github/workflows/compile_new_ipk.yml index 5ae17015cb..062243c4f3 100644 --- a/.github/workflows/compile_new_ipk.yml +++ b/.github/workflows/compile_new_ipk.yml @@ -81,20 +81,23 @@ jobs: - name: Compile po2lmo run: | + cd .. cd tmp/SDK/package/ pushd luci-app-openclash/tools/po2lmo make && sudo make install - cd + popd + cd ../../.. cd tmp/SNAPSDK/package/ pushd luci-app-openclash/tools/po2lmo make && sudo make install + popd - name: Compile OpenClash IPK run: | - cd + cd .. cd tmp/SDK make package/luci-app-openclash/compile V=99 - cd + cd ../.. cd tmp/SNAPSDK make package/luci-app-openclash/compile V=99 @@ -106,6 +109,7 @@ jobs: - name: Commit and Push New Version run: | rm -rf ./${{ github.ref_name }}/luci-app-openclash_* + rm -rf ./${{ github.ref_name }}/luci-app-openclash-* echo "v${{ needs.Get-Version.outputs.version }}" > ./${{ github.ref_name }}/version echo "https://img.shields.io/badge/New Release-v${{ needs.Get-Version.outputs.version }}-orange.svg" >> ./${{ github.ref_name }}/version cd ..