This commit is contained in:
lubeilin
2023-05-29 19:14:11 +08:00
parent bb7b1d23af
commit b846f54d79
+1 -3
View File
@@ -86,9 +86,8 @@ jobs:
# dependencies are only needed on ubuntu as that's the only place where # dependencies are only needed on ubuntu as that's the only place where
# we make cross-compilation # we make cross-compilation
if [[ $OS =~ ^ubuntu.*$ ]]; then if [[ $OS =~ ^ubuntu.*$ ]]; then
sudo apt-get install -qq crossbuild-essential-arm64 crossbuild-essential-armhf sudo apt-get update && sudo apt-get install -qq crossbuild-essential-arm64 crossbuild-essential-armhf
fi fi
# some additional configuration for cross-compilation on linux # some additional configuration for cross-compilation on linux
cat >>~/.cargo/config <<EOF cat >>~/.cargo/config <<EOF
[target.aarch64-unknown-linux-gnu] [target.aarch64-unknown-linux-gnu]
@@ -132,7 +131,6 @@ jobs:
name: switch-desktop name: switch-desktop
path: | path: |
./artifacts ./artifacts
# deploys to github releases on tag # deploys to github releases on tag
deploy: deploy:
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')