更新 .gitea/workflows/app_update.yml
All checks were successful
app_update / update-rules (push) Successful in 21s
All checks were successful
app_update / update-rules (push) Successful in 21s
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: zellij_update
|
||||
name: app_update
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 23 * * *' # 每天北京时间早上7点执行
|
||||
@@ -31,17 +31,9 @@ jobs:
|
||||
run: |
|
||||
curl -L "https://www.7-zip.org/a/7z2501.exe" -o "app/7z.exe" --fail --silent --show-error
|
||||
|
||||
curl -L "https://www.7-zip.org/a/7z2501-linux-x64.tar.xz" -o "7z.tar.xz" --fail --silent --show-error \
|
||||
&& tar -xvf 7z.tar.xz -C tmp/ \
|
||||
&& mv tmp/7zz app/ \
|
||||
&& rm -rf tmp/*
|
||||
curl -L "https://www.7-zip.org/a/7z2501-linux-x64.tar.xz" -o "7z.tar.xz" --fail --silent --show-error && tar -xvf 7z.tar.xz -C tmp/ && mv tmp/7zz app/ && rm -rf tmp/*
|
||||
|
||||
curl -L "https://www.7-zip.org/a/7z2501-linux-arm64.tar.xz" \
|
||||
-o "7z.tar.xz" \
|
||||
--fail --silent --show-error \
|
||||
&& tar -xvf 7z.tar.xz -C tmp/ \
|
||||
&& mv tmp/7zz app/7zz_arm64 \
|
||||
&& rm -rf tmp/*
|
||||
curl -L "https://www.7-zip.org/a/7z2501-linux-arm64.tar.xz" -o "7z.tar.xz" --fail --silent --show-error && tar -xvf 7z.tar.xz -C tmp/ && mv tmp/7zz app/7zz_arm64 && rm -rf tmp/*
|
||||
|
||||
- name: 提交更改
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user