You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by pa...@apache.org on 2026/06/16 19:43:30 UTC
(lucenenet) 13/23: .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.
paulirwin pushed a commit to branch release/4.8.0-beta00018
in repository https://gitbox.apache.org/repos/asf/lucenenet.git
commit 97f6cac1c6c79ad4c5ff692e89be3349798f34d6
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: