mirror of https://github.com/Xhofe/alist
fix: dead link
parent
7aeb0ab078
commit
51eeb22465
|
@ -119,7 +119,7 @@ jobs:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: alist-org/desktop-release
|
repository: AlistGo/desktop-release
|
||||||
ref: main
|
ref: main
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
@ -135,4 +135,4 @@ jobs:
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.MY_TOKEN }}
|
github_token: ${{ secrets.MY_TOKEN }}
|
||||||
branch: main
|
branch: main
|
||||||
repository: alist-org/desktop-release
|
repository: AlistGo/desktop-release
|
|
@ -72,7 +72,7 @@ jobs:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: alist-org/desktop-release
|
repository: AlistGo/desktop-release
|
||||||
ref: main
|
ref: main
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
@ -89,4 +89,4 @@ jobs:
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.MY_TOKEN }}
|
github_token: ${{ secrets.MY_TOKEN }}
|
||||||
branch: main
|
branch: main
|
||||||
repository: alist-org/desktop-release
|
repository: AlistGo/desktop-release
|
4
build.sh
4
build.sh
|
@ -93,7 +93,7 @@ BuildDocker() {
|
||||||
|
|
||||||
PrepareBuildDockerMusl() {
|
PrepareBuildDockerMusl() {
|
||||||
mkdir -p build/musl-libs
|
mkdir -p build/musl-libs
|
||||||
BASE="https://musl.cc/"
|
BASE="https://github.com/go-cross/musl-toolchain-archive/releases/latest/download/"
|
||||||
FILES=(x86_64-linux-musl-cross aarch64-linux-musl-cross i486-linux-musl-cross s390x-linux-musl-cross armv6-linux-musleabihf-cross armv7l-linux-musleabihf-cross riscv64-linux-musl-cross powerpc64le-linux-musl-cross)
|
FILES=(x86_64-linux-musl-cross aarch64-linux-musl-cross i486-linux-musl-cross s390x-linux-musl-cross armv6-linux-musleabihf-cross armv7l-linux-musleabihf-cross riscv64-linux-musl-cross powerpc64le-linux-musl-cross)
|
||||||
for i in "${FILES[@]}"; do
|
for i in "${FILES[@]}"; do
|
||||||
url="${BASE}${i}.tgz"
|
url="${BASE}${i}.tgz"
|
||||||
|
@ -245,7 +245,7 @@ BuildReleaseFreeBSD() {
|
||||||
cgo_cc="clang --target=${CGO_ARGS[$i]} --sysroot=/opt/freebsd/${os_arch}"
|
cgo_cc="clang --target=${CGO_ARGS[$i]} --sysroot=/opt/freebsd/${os_arch}"
|
||||||
echo building for freebsd-${os_arch}
|
echo building for freebsd-${os_arch}
|
||||||
sudo mkdir -p "/opt/freebsd/${os_arch}"
|
sudo mkdir -p "/opt/freebsd/${os_arch}"
|
||||||
wget -q https://download.freebsd.org/releases/${os_arch}/14.1-RELEASE/base.txz
|
wget -q https://download.freebsd.org/releases/${os_arch}/14.3-RELEASE/base.txz
|
||||||
sudo tar -xf ./base.txz -C /opt/freebsd/${os_arch}
|
sudo tar -xf ./base.txz -C /opt/freebsd/${os_arch}
|
||||||
rm base.txz
|
rm base.txz
|
||||||
export GOOS=freebsd
|
export GOOS=freebsd
|
||||||
|
|
Loading…
Reference in New Issue