fork/eza

git clone https://git.julia.blue/fork/eza

Christina Sørensenrefactor: relicense to EUPL-1.2cfd745d6

main
1.1 KiB37 linesraw
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
7name: Apt Installation
8on:
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'
21concurrency:
22  group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
23  cancel-in-progress: true
24jobs:
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