From 8d9343e54dfa6aca3c5f46e949b791e51f445963 Mon Sep 17 00:00:00 2001 From: MrLetsplay Date: Tue, 4 Mar 2025 21:20:48 +0100 Subject: [PATCH] Update workflow --- .gitea/workflows/build_linux_docker.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build_linux_docker.yml b/.gitea/workflows/build_linux_docker.yml index 4d56a28a..21b79d09 100644 --- a/.gitea/workflows/build_linux_docker.yml +++ b/.gitea/workflows/build_linux_docker.yml @@ -8,7 +8,16 @@ jobs: uses: actions/checkout@v3 - name: Install dependencies - run: "apt update && apt install -y npm && npm install -g yarn" + run: "apt update && apt install -y npm wget && npm install -g yarn" - - name: Run script - run: "echo 'hello world'" + - name: Download Cringe Studios configuration + run: "mkdir cringe && wget -O cringe/config.json https://chat.cringe-studios.com/config.json" + + - name: Fetch all dependencies + run: "yarn && yarn run fetch --noverify --cfgdir cringe" + + - name: Docker setup + run: "yarn run docker:setup" + + - name: Docker build + run: "scripts/in-docker.sh bash -c 'dpkg --add-architecture i386 && apt update && apt install -y rpm wine mono-devel && SQLCIPHER_BUNDLED=1 yarn run docker:build:native && yarn run docker:build --linux rpm --linux deb --linux tar.xz --linux AppImage --win squirrel'"