更新 .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:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 23 * * *' # 每天北京时间早上7点执行
|
- cron: '0 23 * * *' # 每天北京时间早上7点执行
|
||||||
@@ -31,17 +31,9 @@ jobs:
|
|||||||
run: |
|
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.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 \
|
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/*
|
||||||
&& 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" \
|
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/*
|
||||||
-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: 提交更改
|
- name: 提交更改
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user