ci: fix saved Ci doks
This commit is contained in:
1 parent
700f4a1716
commit
265ee15846
1 file changed
+5
-2
@@ -31,10 +31,13 @@ jobs:
|
||||
- name: Build documentation
|
||||
run: cargo doc --no-deps --document-private-items
|
||||
|
||||
- name: Create docs directory
|
||||
run: mkdir -p ./docs-output && cp -r target/doc/* ./docs-output/
|
||||
|
||||
- name: Upload documentation as artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v3 # Понижена версия для совместимости с GHES
|
||||
with:
|
||||
name: rust-documentation
|
||||
path: target/doc/
|
||||
path: ./docs-output/
|
||||
retention-days: 30
|
||||
if-no-files-found: error
|
||||
Reference in new issue
Block a user