com doc/ru: Attempt to fix CI: .github/workflows/build.yml

[email protected] (Alexey Pyltsyn) Sun, 03 Jan 2021 22:22:36 +0000
Newsgroups php.doc.ru
Message-ID <[email protected]>
Commit:    a374229044a8858d1f83872481f8135a41052a81
Author:    Alexey Pyltsyn <[email protected]>         Mon, 4 Jan 2021 01:18:17 +0300
Parents:   62e6fae18df4a275bc21f49c65b909d11bb01a5d
Branches:  master

Link:       http://git.php.net/?p=doc/ru.git;a=commitdiff;h=a374229044a8858d1f83872481f8135a41052a81

Log:
Attempt to fix CI

Changed paths:
  M  .github/workflows/build.yml


Diff:
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 264a92729..c0c238656 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -11,7 +11,13 @@ on:
     - cron: '0 0 * * *'
 
 jobs:
-  main:
+  spellcheck:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+      - run: npx yaspeller --only-errors "**/*.xml"
+
+  build:
     runs-on: ubuntu-latest
     steps:
       - name: Checkout
@@ -19,9 +25,6 @@ jobs:
         with:
           path: 'ru'
 
-      - name: Install and run spellchecker
-        run: npx yaspeller --only-errors "**/*.xml"
-
       - name: Build docs
         run: |
           git clone --depth=1 https://github.com/php/doc-base.git doc-base