diff --git a/.github/workflows/ci-spec.yml b/.github/workflows/ci-spec.yml index a3b4dd875e..cfd6909d64 100644 --- a/.github/workflows/ci-spec.yml +++ b/.github/workflows/ci-spec.yml @@ -70,6 +70,15 @@ jobs: name: web-api-rendered path: document/web-api/index.html + build-spec-versions: + - name: Checkout repo + uses: actions/checkout@v2 + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: versions-rendered + path: document/versions/ + publish-spec: runs-on: ubuntu-latest needs: [build-core-spec, build-js-api-spec, build-web-api-spec] @@ -93,6 +102,11 @@ jobs: with: name: web-api-rendered path: _output/web-api + - name: Download spec versions artifacts + uses: actions/download-artifact@v4 + with: + name: versions-rendered + path: _output/versions - name: Publish to GitHub Pages if: github.ref == 'refs/heads/main' uses: peaceiris/actions-gh-pages@v3