ci: fix saved Ci doks
This commit is contained in:
1 parent
700f4a1716
commit
265ee15846
1 file changed
+6
-3
@@ -30,11 +30,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Build documentation
|
- name: Build documentation
|
||||||
run: cargo doc --no-deps --document-private-items
|
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
|
- name: Upload documentation as artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v3 # Понижена версия для совместимости с GHES
|
||||||
with:
|
with:
|
||||||
name: rust-documentation
|
name: rust-documentation
|
||||||
path: target/doc/
|
path: ./docs-output/
|
||||||
retention-days: 30
|
retention-days: 30
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
Reference in new issue
Block a user