onlyoffice-document-server/.forgejo/workflows/test-build.yaml
Workflow config file is invalid. Please check your config file: yaml: line 35: found a tab character where an indentation space is expected

47 lines
1.8 KiB
YAML

on:
pull_request:
types: [ assigned, opened, synchronize, reopened ]
jobs:
build-test:
runs-on: x86_64
container:
image: ubuntu:16.04
env:
pkgver: 8.1.1
buildno: 39
steps:
- name: Environment setup
run: |
apt-get update
apt-get install -y python git sudo
- name: Getting patches
uses: actions/checkout@v4
- name: Cloning document server source
run: git clone https://github.com/ONLYOFFICE/DocumentServer --recursive-submodules -b v$pkgver onlyoffice-document-server
- name: Cloning build tools
run: git clone https://github.com/ONLYOFFICE/build_tools.git -b v$pkgver.$buildno onlyoffice-document-server/build_tools
- name: Cloning document server integration
run: git clone https://github.com/ONLYOFFICE/document-server-integration -b v$pkgver.$buildno onlyoffice-document-server/document-server-integration
- name: Cloning document templates
run: git clone https://github.com/ONLYOFFICE/document-templates -b v$pkgver.$buildno onlyoffice-document-server/document-templates
- name: Cloning onlyoffice io
run: git clone https://github.com/ONLYOFFICE/onlyoffice.github.io onlyoffice-document-server/onlyoffice.github.io
- name: Applying patches
run: |
patch -p1 -d onlyoffice-document-server -i web-apps.patch
patch -p1 -d onlyoffice-document-server -i server.patch
- name: Building onlyoffice
run: |
cd onlyoffice-document-server/build_tools
./configure.py \
--update 0 \
--module "server"
./make.py
- name: Package upload
uses: forgejo/upload-artifact@v3
with:
name: documentserver
path: ./out/linux_64/onlyoffice/documentserver/*