You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2025/11/01 05:16:11 UTC

(lucenenet) 02/02: .github/workflows/Lucene-Net-Documentation.yml: Added task to upload the built apidocs as a build artifact (useful if the PR automation isn't working)

This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch docs/4.8.0-beta00017
in repository https://gitbox.apache.org/repos/asf/lucenenet.git

commit 7cbb5a09349824dcb2803576bd2ffe1537d556b7
Author: Shad Storhaug <sh...@shadstorhaug.com>
AuthorDate: Fri Oct 31 21:37:20 2025 +0700

    .github/workflows/Lucene-Net-Documentation.yml: Added task to upload the built apidocs as a build artifact (useful if the PR automation isn't working)
---
 .github/workflows/Lucene-Net-Documentation.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.github/workflows/Lucene-Net-Documentation.yml b/.github/workflows/Lucene-Net-Documentation.yml
index 22249bb06..163ec03f9 100644
--- a/.github/workflows/Lucene-Net-Documentation.yml
+++ b/.github/workflows/Lucene-Net-Documentation.yml
@@ -132,6 +132,13 @@ jobs:
         run: ./main-repo/websites/apidocs/docs.ps1 -Clean -LuceneNetVersion ${{ env.RELEASE_VERSION }}
         shell: powershell
 
+      - name: Upload apidocs as build artifact
+        uses: actions/upload-artifact@v5
+        if: ${{always()}}
+        with:
+          name: 'apidocs'
+          path: '${{github.workspace}}/main-repo/websites/apidocs/_site'
+
       - name: Checkout Lucene.Net website
         uses: actions/checkout@v5
         with: