更新 .gitea/workflows/7zip_update.yml
This commit is contained in:
@@ -6,9 +6,6 @@ on:
|
||||
push:
|
||||
branches: [ main, master ]
|
||||
|
||||
env:
|
||||
7Z_VERSION: "2501"
|
||||
|
||||
jobs:
|
||||
update-rules:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -23,14 +20,14 @@ jobs:
|
||||
|
||||
- name: 下载并解压7zip
|
||||
run: |
|
||||
curl -L "https://www.7-zip.org/a/7z$7Z_VERSION.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/7z$7Z_VERSION-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 tmp/*
|
||||
|
||||
curl -L "https://www.7-zip.org/a/7z$7Z_VERSION-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/ \
|
||||
|
||||
Reference in New Issue
Block a user