This commit is contained in:
YuCat-OVO 2024-03-01 21:21:19 +08:00
parent 33e46226d7
commit b55b45fadd
2 changed files with 4 additions and 3 deletions

View File

@ -27,8 +27,8 @@ jobs:
id: set-vars
run: |
VERSION="1.0.1"
BAIDUNETDISK_VERSION=$(jq -r '.[2] | "\(.arch)"' info.json)
BAIDUNETDISK_URL=$(jq -r '.[2] | "\(.url)"' info.json)
BAIDUNETDISK_VERSION=$(jq -r '.[1] | "\(.arch)"' info.json)
BAIDUNETDISK_URL=$(jq -r '.[1] | "\(.url)"' info.json)
GITHUB_REF=${{ github.ref }}
BRACH=${GITHUB_REF#refs/heads/}
DATE=$(date '+%Y-%m-%dT%H:%M:%S%Z')

View File

@ -33,10 +33,11 @@ RUN \
fonts-wqy-zenhei \
desktop-file-utils && \
echo "**** install BaiduNetdisk ****" && \
echo "**** BAIDUNETDISK_URL: ${BAIDUNETDISK_URL} ****" && \
if [ -z ${BAIDUNETDISK_URL+x} ]; then \
BAIDUNETDISK_URL="https://issuepcdn.baidupcs.com/issue/netdisk/LinuxGuanjia/4.17.7/baidunetdisk_4.17.7_amd64.deb"; \
fi && \
echo "***** Getting $BAIDUNETDISK_URL ****" && \
echo "***** Getting ${BAIDUNETDISK_URL} ****" && \
curl -o \
/tmp/baidunetdisk.deb -L \
"$BAIDUNETDISK_URL" && \