2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 14:57:16 +08:00

fix(workflow): 修复 apt

This commit is contained in:
耗子
2023-10-23 15:47:53 +08:00
parent ccfd5550b9
commit a4c80dd919

View File

@@ -17,9 +17,9 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: 'stable'
- name: Fetch Latest Frontend
- name: Fetch Frontend
run: |
apt install -y curl jq unzip zip
sudo apt-get install -y curl jq unzip zip
curl -s https://api.github.com/repos/haozi-team/panel-frontend/releases/latest | jq -r ".assets[] | select(.name | contains(\"dist\")) | .browser_download_url" | xargs curl -L -o frontend.zip
rm -rf public
unzip frontend.zip