forked from CringeStudios/element-desktop
This commit is contained in:
parent
fbab4257e6
commit
17aad3800b
@ -13,9 +13,8 @@ jobs:
|
||||
- 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" &&
|
||||
source ~/.bashrc &&
|
||||
nvm install 22 &&
|
||||
nvm use 22 &&
|
||||
curl --proto "=https" -L https://yarnpkg.com/latest.tar.gz | tar xvz && mv yarn-* /yarn && ln -s /yarn/bin/yarn /usr/bin/yarn &&
|
||||
@ -24,29 +23,36 @@ jobs:
|
||||
|
||||
- name: Install packages
|
||||
run: >
|
||||
\. "$HOME/.nvm/nvm.sh" &&
|
||||
source ~/.profile &&
|
||||
source ~/.bashrc &&
|
||||
nvm use 22 &&
|
||||
yarn add matrix-seshat &&
|
||||
yarn
|
||||
|
||||
- name: Fetch element
|
||||
run: >
|
||||
\. "$HOME/.nvm/nvm.sh" &&
|
||||
source ~/.profile &&
|
||||
source ~/.bashrc &&
|
||||
nvm use 22 &&
|
||||
yarn run fetch --noverify --cfgdir cringe
|
||||
|
||||
- name: Build natives
|
||||
run: >
|
||||
\. "$HOME/.nvm/nvm.sh" &&
|
||||
source ~/.profile &&
|
||||
source ~/.bashrc &&
|
||||
nvm use 22 &&
|
||||
SQLCIPHER_BUNDLED=1 yarn run build:native
|
||||
|
||||
- name: Build packages
|
||||
run: >
|
||||
\. "$HOME/.nvm/nvm.sh" &&
|
||||
source ~/.profile &&
|
||||
source ~/.bashrc &&
|
||||
nvm use 22 &&
|
||||
yarn run build --linux rpm --linux deb --linux tar.xz --linux AppImage --win squirrel
|
||||
yarn run build --linux rpm --linux deb --linux tar.xz --linux AppImage --win squirrel --publish never
|
||||
|
||||
- name: Publish artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: element-desktop
|
||||
path: |
|
||||
dist/element-desktop*.rpm
|
||||
dist/Element*.AppImage
|
||||
dist/element-desktop*.deb
|
||||
dist/element-desktop*.tar.xz
|
||||
dist/squirrel-windows/Element*.exe
|
||||
|
Loading…
x
Reference in New Issue
Block a user