CI: name doc artifacts after their respective packages

This commit is contained in:
NotAShelf 2024-01-16 14:32:38 +03:00
parent 980d497660
commit 3377ebdbfd
No known key found for this signature in database
GPG Key ID: 02D1DD3FA08B6B29
1 changed files with 6 additions and 1 deletions

View File

@ -39,8 +39,13 @@ jobs:
- name: Build documentation packages
run: nix build .#${{ matrix.package }} --print-build-logs
- name: Get current date
id: get-date
# output format: 2023-12-22-120000
run: echo "date=$(date +'%Y-%m-%d-%H%M%S')" >> ${GITHUB_OUTPUT}
- name: Upload doc artifacts
uses: actions/upload-artifact@v4
with:
name: doc
name: "${{ matrix.package }}"
path: result/share/doc/neovim-flake/