更新 .gitea/workflows/7zip_update.yml
This commit is contained in:
@@ -23,13 +23,9 @@ jobs:
|
|||||||
|
|
||||||
- name: 下载并解压7zip
|
- name: 下载并解压7zip
|
||||||
run: |
|
run: |
|
||||||
curl -L "https://www.7-zip.org/a/7z$7Z_VERSION-x86.exe" \
|
curl -L "https://www.7-zip.org/a/7z$7Z_VERSION.exe" -o "app/7z.exe" --fail --silent --show-error
|
||||||
-o "app/7z.exe" \
|
|
||||||
--fail --silent --show-error
|
|
||||||
|
|
||||||
curl -L "https://www.7-zip.org/a/7z$7Z_VERSION-linux-x64.tar.xz" \
|
curl -L "https://www.7-zip.org/a/7z$7Z_VERSION-linux-x64.tar.xz" -o "7z.tar.xz" --fail --silent --show-error \
|
||||||
-o "7z.tar.xz" \
|
|
||||||
--fail --silent --show-error \
|
|
||||||
&& tar -xvf 7z.tar.xz -C tmp/ \
|
&& tar -xvf 7z.tar.xz -C tmp/ \
|
||||||
&& mv tmp/7zz app/ \
|
&& mv tmp/7zz app/ \
|
||||||
&& rm tmp/*
|
&& rm tmp/*
|
||||||
@@ -41,8 +37,6 @@ jobs:
|
|||||||
&& mv tmp/7zz app/7zz_arm64 \
|
&& mv tmp/7zz app/7zz_arm64 \
|
||||||
&& rm tmp/*
|
&& rm tmp/*
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- name: 提交更改
|
- name: 提交更改
|
||||||
run: |
|
run: |
|
||||||
git config --local user.email "gitea-actions[bot]@users.noreply.nvme.cc"
|
git config --local user.email "gitea-actions[bot]@users.noreply.nvme.cc"
|
||||||
|
|||||||
Reference in New Issue
Block a user