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

View file

@ -39,8 +39,13 @@ jobs:
- name: Build documentation packages - name: Build documentation packages
run: nix build .#${{ matrix.package }} --print-build-logs 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 - name: Upload doc artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: doc name: "${{ matrix.package }}"
path: result/share/doc/neovim-flake/ path: result/share/doc/neovim-flake/