get patches earlier
Some checks failed
/ build-test (pull_request) Failing after 4m53s

This commit is contained in:
Antoine Martin 2024-08-24 10:45:44 -04:00
parent bad525a520
commit 491aecdab9
Signed by: ayakael
GPG key ID: D62A472A4AA7D541

View file

@ -19,6 +19,8 @@ jobs:
curl -sL https://deb.nodesource.com/setup_16.x | bash - curl -sL https://deb.nodesource.com/setup_16.x | bash -
apt-get install -y nodejs apt-get install -y nodejs
npm install -g pkg grunt grunt-cli npm install -g pkg grunt grunt-cli
- name: Getting patches
uses: actions/checkout@v4
- name: Cloning source - name: Cloning source
run: | run: |
git clone https://github.com/ONLYOFFICE/DocumentServer --recursive -b v$pkgver onlyoffice-document-server git clone https://github.com/ONLYOFFICE/DocumentServer --recursive -b v$pkgver onlyoffice-document-server
@ -26,8 +28,6 @@ jobs:
git clone https://github.com/ONLYOFFICE/document-server-integration -b v$pkgver.$buildno onlyoffice-document-server/document-server-integration git clone https://github.com/ONLYOFFICE/document-server-integration -b v$pkgver.$buildno onlyoffice-document-server/document-server-integration
git clone https://github.com/ONLYOFFICE/document-templates -b v$pkgver.$buildno onlyoffice-document-server/document-templates git clone https://github.com/ONLYOFFICE/document-templates -b v$pkgver.$buildno onlyoffice-document-server/document-templates
git clone https://github.com/ONLYOFFICE/onlyoffice.github.io onlyoffice-document-server/onlyoffice.github.io git clone https://github.com/ONLYOFFICE/onlyoffice.github.io onlyoffice-document-server/onlyoffice.github.io
- name: Getting patches
uses: actions/checkout@v4
- name: Applying patches - name: Applying patches
run: | run: |
git -C onlyoffice-document-server/server apply -v --ignore-space-change --ignore-whitespace $GITHUB_WORKSPACE/server.patch git -C onlyoffice-document-server/server apply -v --ignore-space-change --ignore-whitespace $GITHUB_WORKSPACE/server.patch