From ec0c0aa2c34bf4848bbe6bb0136bf8996d67be88 Mon Sep 17 00:00:00 2001 From: MrLetsplay Date: Sat, 5 Apr 2025 23:54:17 +0200 Subject: [PATCH] Update workflow --- .gitea/workflows/build_linux_docker.yml | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/build_linux_docker.yml b/.gitea/workflows/build_linux_docker.yml index 9b604c6e..cb1f6add 100644 --- a/.gitea/workflows/build_linux_docker.yml +++ b/.gitea/workflows/build_linux_docker.yml @@ -6,29 +6,34 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - + - name: Download Cringe Studios configuration run: "mkdir cringe && wget -O cringe/config.json https://chat.cringe-studios.com/config.json" - + - name: Install dependencies run: > curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && + source ~/.profile && + curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.2/install.sh | bash && + \. "$HOME/.nvm/nvm.sh" && + nvm install 22 && curl --proto "=https" -L https://yarnpkg.com/latest.tar.gz | tar xvz && mv yarn-* /yarn && ln -s /yarn/bin/yarn /usr/bin/yarn && - dpkg --add-architecture i386 && apt-get update && apt-get install -y wine mono-devel rpm - - - name: Fetch packages + dpkg --add-architecture i386 && apt-get update && apt-get install -y wine mono-devel rpm && + ln -s /usr/bin/wine /usr/bin/wine64 + + - name: Install packages run: > yarn add matrix-seshat && yarn - + - name: Fetch element run: > yarn run fetch --noverify --cfgdir cringe - + - name: Build natives run: > SQLCIPHER_BUNDLED=1 yarn run build:native - + - name: Build packages run: > yarn run build --linux rpm --linux deb --linux tar.xz --linux AppImage --win squirrel