forked from CringeStudios/element-desktop
This commit is contained in:
parent
a3a43714d4
commit
3d223e2aa5
@ -51,13 +51,24 @@ jobs:
|
||||
nvm use 22 &&
|
||||
yarn run build --linux rpm --linux deb --linux tar.xz --linux AppImage --win squirrel --publish never
|
||||
|
||||
- name: Publish artifacts
|
||||
uses: christopherhx/gitea-upload-artifact@v4
|
||||
- name: Copy artifacts to output directory
|
||||
run: >
|
||||
mkdir output &&
|
||||
cp dist/element-desktop*.rpm dist/Element*.AppImage dist/element-desktop*.deb dist/element-desktop*.tar.xz dist/squirrel-windows/Element*.exe output/
|
||||
|
||||
#- name: Publish artifacts
|
||||
# uses: christopherhx/gitea-upload-artifact@v4
|
||||
# with:
|
||||
# name: element-desktop
|
||||
# path: |
|
||||
# output/
|
||||
|
||||
- name: Publish artifacts via FTP
|
||||
uses: SamKirkland/FTP-Deploy-Action@v4.3.5
|
||||
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
|
||||
server: ${{ secrets.FTP_SERVER }}
|
||||
username: ${{ secrets.FTP_USERNAME }}
|
||||
password: ${{ secrets.FTP_PASSWORD }}
|
||||
local-dir: ./output/
|
||||
server-dir: ./artifacts/element/
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user