-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (37 loc) · 1.13 KB
/
linux.yml
File metadata and controls
41 lines (37 loc) · 1.13 KB
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
38
39
40
41
name: Linux
on: [push]
jobs:
build:
strategy:
matrix:
os: [ubuntu-24.04, ubuntu-24.04-arm]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@main
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install -y zsh
- name: Testing Shell script
run: |
cd airconnect
sudo zsh airconnect_installer
sudo zsh airconnect_installer
sudo zsh airconnect_uninstaller
sudo zsh airconnect_uninstaller || true
other-scripts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Cache downloaded scripts
uses: actions/cache@main
with:
path: |
${{ github.workspace }}/pihole-cloudflared
${{ github.workspace }}/update_fastfetch
key: ${{ runner.os }}-scripts-${{ hashFiles('**/*.sh') }}
restore-keys: |
${{ runner.os }}-scripts-
- name: Run script 'pihole-cloudflared'
run: sudo bash pihole-cloudflared
- name: Run script 'update_fastfetch'
run: sudo bash update_fastfetch