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