1
0

apt.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # SPDX-FileCopyrightText: 2024 Christina Sørensen
  2. # SPDX-License-Identifier: EUPL-1.2
  3. #
  4. # SPDX-FileCopyrightText: 2023-2024 Christina Sørensen, eza contributors
  5. # SPDX-FileCopyrightText: 2014 Benjamin Sago
  6. # SPDX-License-Identifier: MIT
  7. name: Apt Installation
  8. on:
  9. schedule:
  10. - cron: '0 0 * * *'
  11. push:
  12. branches: [main]
  13. paths:
  14. - 'deb.asc'
  15. - '.github/workflows/apt.yml'
  16. pull_request:
  17. branches: [main]
  18. paths:
  19. - 'deb.asc'
  20. - '.github/workflows/apt.yml'
  21. concurrency:
  22. group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
  23. cancel-in-progress: true
  24. jobs:
  25. apt_installation:
  26. runs-on: ubuntu-latest
  27. steps:
  28. - name: Install eza via apt repo
  29. run: |
  30. wget -qO- https://raw.githubusercontent.com/eza-community/eza/main/deb.asc | sudo tee /etc/apt/trusted.gpg.d/gierens.asc && \
  31. echo "deb http://deb.gierens.de stable main" | sudo tee /etc/apt/sources.list.d/gierens.list && \
  32. sudo apt update && \
  33. sudo apt install -y eza
  34. - name: Run eza
  35. run: eza
  36. - name: Open man page
  37. run: man eza | cat